php-windows Digest 8 Feb 2008 19:52:47 -0000 Issue 3419
Topics (messages 28769 through 28771):
Re: string function
28769 by: Viola Holownia
28770 by: Elizabeth M Smith
include and warning: headers already sent by ..
28771 by: germana
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
hi
Have you tried ereg_replace() ?
http://www.php.net/manual/en/function.ereg-replace.php
cheers
viola
2008/2/7 bedul <[EMAIL PROTECTED]>:
> WHat function i use to make this sentence to bold only for a
> text inside " "
>
> 1. Per costruire i Paper Model "munirsi" di un tubetto di
> colla vinilica, un paio di forbici, e una penna, o un
> pennarello, di sezione tonda, con la quale aiutarsi a
> modellare "le parti cilindriche".
>
> i hope the sentece will be
>
> 1. Per costruire i Paper Model <b>munirsi</b> di un tubetto
> di colla vinilica, un paio di forbici, e una penna, o un
> pennarello, di sezione tonda, con la quale aiutarsi a
> modellare <b>le parti cilindriche</b>.
>
>
> i have list text that should be bold if found, but there soo
> many text (i think there was more than 20), i can't always
> use str_replace, is there another way
>
> sry my bad languages
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Viola Holownia wrote:
> hi
>
> Have you tried ereg_replace() ?
> http://www.php.net/manual/en/function.ereg-replace.php
>
>
> cheers
> viola
>
I would NOT suggest ereg_replace, especially on windows - if you need to
do advanced replacement and str_replace doesn't work, try preg_replace -
http://php.net/preg_replace
Regular expressions are your friend.
Thanks,
Elizabeth
--- End Message ---
--- Begin Message ---
Hi there!!!
i just want to ask something...
Sometimes when i need to do several include, or require_once or both i
get the messeage:
Warning: cannot modify header information - header already sent
by ....................
How i can solve this problem...
Thanks!!!
--- End Message ---