Replacing a space with an underscore
| From: | Ron Allen | Date: | Thu, 01 May 2003 15:44:01 +0000 |
| Subject: | Replacing a space with an underscore | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145907@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?
I have something like this
select * from table1 where blah = blah
echo "*$blah*";
I could use Excel to remove all the spaces, but that would not be a true
script....kind of cheating.....any help would be appreciated!!!