[PHP] replacing characters in a string

2004-10-14 Thread Mark Hubert
This should be simple but having never have done it before and at deadline...help please. Need to change: [EMAIL PROTECTED] to; user=domain Thank you! Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replacing characters in a string

2004-10-14 Thread Dan Joseph
This should be simple but having never have done it before and at deadline...help please. Need to change: [EMAIL PROTECTED] to; user=domain str_replace() is what you want... $var = str_replace( @, =, $oldvar ); -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] replacing characters in a string

2004-10-14 Thread Robby Russell
On Thu, 2004-10-14 at 21:04 -0500, Mark Hubert wrote: This should be simple but having never have done it before and at deadline...help please. Need to change: [EMAIL PROTECTED] to; user=domain Did you try searching on the php site or google first?