Handle double quotes " with value
Posted: Tue May 12, 2009 9:24 am
Hello!
How to handle " with value to insert in mysql query.
like
single quotes and semicolon handle by this code but if insert double quotes like " with value like abc" then give error
pls Please help ASAP.
thanks
How to handle " with value to insert in mysql query.
like
Code: Select all
$nId = $this->InsertTable('actor',"Name, Rate,Path","\"".$this->name."\",\"" .$this->rate."\",\"" .$this->path."\"");pls Please help ASAP.
thanks