Posted by maisam on 02/05/06 18:13
Wolf wrote:
> Dear all!
> I have a big problem in the backup of mysql database: I want to move
> fields from table 1 to table 2, using a script. But there are troubles
> with special chars like ' and ". I tried to make a function to protect
> fields, but it does not work! :( Anyone can help me please?
> Thank to all for any suggestions! :)
Try this:
http://www.php.net/manual/en/function.mysql-real-escape-string.php
[Back to original message]
|