RE: [PHP] SQL+php

From: Date: Sun, 19 Jan 2003 01:11:42 +0000
Subject: RE: [PHP] SQL+php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132151@lists.php.net to get a copy of this message
If you want to do it within the query itself, take a look at the mysql replace command REPLACE(str,from_str,to_str) SELECT REPLACE(<field>,<from>,<to>) FROM table or you can do it using PHP once the query has executed, on a record by record basis, within a while/for loop or whatever. -----Original Message----- From: Paul Marinas [mailto:paulm@SGI.rdscv.ro] Sent: Sunday, 19 January 2003 11:07 AM Cc: php-general@lists.php.net Subject: [PHP] SQL+php Dose anyone know how to search and replace a string in a mysql_query output. Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#132151) next »