Question: web design- php course What is the purpose of using the following prepared SQL statements ? $sql SELECT - FROM Artworks WHERE ArtworkID - tid
What is the purpose of using the following prepared SQL statements ? $sql "SELECT - FROM Artworks WHERE ArtworkID - tid" $stat - Spdo->prepare ($sql); $stat->bindValue("id", $_GET["id"]); And why the following is not used instead? $sql "SELECT FROM ArtWorks WHERE ArtWorkID = - $_GET['id')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
