Re: Problem about insert some chinese into MySQL db
| From: | Jason Wong | Date: | Sat, 05 Jul 2003 08:33:50 +0000 |
| Subject: | Re: Problem about insert some chinese into MySQL db | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154040@lists.php.net to get a copy of this message | ||
On Saturday 05 July 2003 16:10, Erick wrote:
> There will have some error of words
What errors?
> I tried addslashes(stripslashes($String))
> But also can't work
Try using mysql_escape_string() or mysql_real_escape_string().
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
After the last of 16 mounting screws has been removed from an access
cover, it will be discovered that the wrong access cover has been removed.
*/