Re: [PHP-DB] replacing once with ereg_replace

2004-01-19 Thread Jason Wong
On Monday 19 January 2004 18:21, lisi wrote: > 2) Solution: Add the leading slash to each entry in the db (MySQL) > Problem: How do I do this with a query without having to change each > one manually? I know I can change the link field using UPDATE but how would > I tell MySQL to change the e

Re: [PHP-DB] replacing once with ereg_replace

2004-01-19 Thread Ricardo Lopes
$new_php_self = substr($PHP_SELF, 1); Does this has anything to do with db?? - Original Message - From: "lisi" <[EMAIL PROTECTED]> To: "PHP-DB" <[EMAIL PROTECTED]> Sent: Monday, January 19, 2004 10:21 AM Subject: [PHP-DB] replacing once with ereg_replace > I have a problem with two poss