Re: Replacing a space with an underscore

From: Date: Thu, 01 May 2003 12:33:10 +0000
Subject: Re: Replacing a space with an underscore
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145934@lists.php.net to get a copy of this message
> What I would like to do... > I would like to have either MySql or PHP replace a space with an underscore > from a MySql query. Any ideas on how to do that? str_replace() preg_replace() ereg_replace() all fit the bill and will do what you need. Chris

« previous php.general (#145934) next »