I was told to use bind parameters so that I could insert text into my db that had quotes in it. But, I am pretty confused when it comes to how to do this, the commands seem confusing to me.
So, if I had a php string, that contained html, how would I insert this into my DB using bind parameters?
I wanted to INSERT it, how would I do this?
$str = '<div id="test"><a href="#">Test string in db</a></div> string content';
I was told to use something like:
$rs = $db->Execute('select * from table where val=?', array('10'));