this also lets you reuse the prepared statement:$sth_2 = $dbh->prepare("UPDATE options SET trend = ? WHERE ticker = ?" +); $sth_2->execute( $trend, $ticker );
$sth_2->execute( $other_trend, $other_ticker );
In reply to Re: Writing to DB with quotes
by davidrw
in thread Writing to DB with quotes
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |