| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Paul DuBois | Date: | September 15 2002 4:59pm |
| Subject: | Re: problem about mysql_real_escape_string to escape MultiByte | ||
| View as plain text | |||
At 22:24 +0800 9/15/02, Xuefer wrote: >even i do mysql_real_escape_string to bold data >mysql complain about syntax error > >$str = mysql_escape_string("\0xC8'"); // tried mysql_real_escape_string >$sql = "SELECT '$str'"; >$result = mysql_query($sql, .....); // get error It doesn't do much good to report that your code doesn't work if you don't report *the code that doesn't work*. It might also help to include other details. Are you using PHP? What version? Etc.
| Thread | ||
|---|---|---|
| • problem about mysql_real_escape_string to escape MultiByte | Xuefer | 15 Sep |
| • Re: problem about mysql_real_escape_string to escape MultiByte | Paul DuBois | 15 Sep |
