Answers for "mysqli prepare for UPDATE records"

0

mysqli prepare for UPDATE records

$q = "UPDATE table1 SET title=?, description=?, date=? WHERE id=?";
$stmt = mysqli_prepare($dbc, $q);
mysqli_stmt_bind_param($stmt, 'sssi', $title, $descrip, $date1, $id);
mysqli_stmt_execute($stmt);
Posted by: Guest on September-24-2021

Browse Popular Code Answers by Language