Re: [PHP] ereg_replace: Replacing only first occurrence

2001-04-23 Thread ~~~i LeoNid ~~
On 23 Apr 2001 13:04:36 -0700 impersonator of [EMAIL PROTECTED] ("Erica Douglass") planted &I saw in php.general: >I want to only replace the first occurrence of a string in a file using >ereg_replace. Should I use a loop to do this? Any suggestions? Please email >me at [EMAIL PROTECTED] with sug

[PHP] ereg_replace: Replacing only first occurrence

2001-04-23 Thread Erica Douglass
I want to only replace the first occurrence of a string in a file using ereg_replace. Should I use a loop to do this? Any suggestions? Please email me at [EMAIL PROTECTED] with suggestions. Thanks, Erica -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE