Help for this page

Select Code to Download


  1. or download this
    die $db_handle->errstr;
    my $sth = $dbh->prepare('SELECT * FROM table WHERE column LIKE ("%"?"%
    +") LIMIT 1') or $error = "$db_handle->errstr");
    my $rv = $sth -> execute($column_value);
    
  2. or download this
    if ($error) {do something}