Hello Everyone today i will create new post. In this post, we will implement prepared statement for insert and update data. I will show simple example.
prepare($sql);
$q->execute(array(':author'=>$author,
':title'=>$title));
?>
Example for update data:
prepare($sql); $q->execute(array($title,$author,$id)); ?>
10:27 PM
Share:

About
0 comments: