$sth = $dbh->prepare('UPDATE Images SET strID=? WHERE strID=?'); $sth->bind_param(1, $strID); $sth->bind_param(2, $strID); $sth->execute()