Posted by jamen on 12/11/05 23:12
el chupacabra wrote:
> Everytime I want to enter to a textbox area "it's fun" (no quotes) I get an error.
> Any work arounds on escape characters? How can I have mySQL just take "it's fun" just like that?
$text = mysql_real_escape_string($text_from_form);
now $text should be safe to insert into the sql
Navigation:
[Reply to this message]
|