use str_replace() instead of ereg_replace() ...in the same way described
- Original Message -
From: "brendan conroy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 9:15 PM
Subject: [PHP] Novice question - please help
> Hi,
>THANK YOU for reading this.I wo
On Wed, 30 Jan 2002 12:10:14 +, you wrote:
>Could someone please email me and tell me how to split a string into
>different arrays
');
}
/* I know it's weird, but use sizeof() for arrays, and
strlen() for strings */
echo('$arr has ' . sizeof($arr) . ' elements');
Take a look at split, explode
> -Original Message-
> From: brendan conroy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 30, 2002 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Novice question - Please Help
>
>
> Hi,
>thanks for reading this. Ive looked at every php site an
3 matches
Mail list logo