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,
>
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. I
Hi,
thanks for reading this. Ive looked at every php site and cant find an
answer, youre my last hope!(ok so its not that serious, but pretty close!).
Could someone please email me and tell me how to split a string into
different arrays and save what they were split on?
Also I cant get the si
4 matches
Mail list logo