Help for this page

Select Code to Download


  1. or download this
        SELECT * FROM foo WHERE bar LIKE '%it's not a problem%'
    
  2. or download this
    $str = $dbh->quote("it's not a problem");
    
    ...
    $sth->execute() || die "Error: " . $dbh->errstr;
    
  3. or download this
    Error: You have an error in your SQL syntax. Check the manual that cor
    +responds to your MySQL server version for the right syntax to use nea
    +r 'it\'s not a problem'%'' at line 1 at /foo/bar.cgi line 29.