note 10327 rejected and deleted from ereg_replace by zak

From: Date: Thu, 28 Dec 2000 07:58:12 +0000
Subject: note 10327 rejected and deleted from ereg_replace by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9144@lists.php.net to get a copy of this message
Im new to the PHP scene and I'm using the ereg_replace to add in spaces and removing them: $name = ereg_replace (" ", "%20", $name); is there any way I can use one line like the one above to do multiple things? For example: $name = ereg_replace (" ", "%20", $name); $name = ereg_replace (":", "%3A", $name); Is there any way I can combine this into one line instead of 2. Any help is appreciated.

« previous php.notes (#9144) next »