1
I understand that quotes can stop a MySQL statment. I was wondering whats the propper way to get arround this issue.
Lets say I have this
$variable= "The boat's color is red" ;
$Query = "INSERT INTO ".$xoopsDB->prefix("some_table")." (variable) VALUES ('$variable');
$Insert = $xoopsDB->query($Query);
I was wondering how I can insert that text into MySQL with out altering it so the query statment dosn't fail.
Thanks