Re: [PHP] replacing multiple spaces with one

2002-07-15 Thread nico_free
Hellorgh !! $ArticleText = ereg_replace("[[:space:]].*", " ", $ArticleText); Should be fine... But AFAIK, using preg_replace should be faster, but I don't know the exact syntax to solve your probem :-( -- Nayco - Original Message - From: David Russell <[EMAIL PROTECTED]> To: php-general

[PHP] Submitted form doesn't work

2002-05-28 Thread nico_free
Helllorgh, !!! I've got a strange problem... Look at this pseudo-script (news.php) : -- etc . and the submit, plus 1 or 2 others... -

Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread nico_free
- Original Message - From: nico_free <[EMAIL PROTECTED]> To: TGL <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 11:47 PM Subject: Re: [PHP] New to PHP - Undefined variable: ?? > Well, I think the first 2 lines of your script should be : > > echo "\