Question: 2nd part to *editbook.php* Anyone knows php and mysql that can help me create this in a html/php format? *updatebook.php* *Create a file called updatebook.php*

2nd part to *editbook.php* Anyone knows php and mysql that can help me create this in a html/php format? *updatebook.php* *Create a file called updatebook.php* *At the top of the file retrieve ALL FIVE values from the form (remember your hidden input)* *Connect to the database* *Create an update statement that updates the four user values* *Make sure your update only updates the ONE record/row we are editing* *(hint hidden value!)* *The values you retrieved should still be in single quotes (use those variables you collected the Post values into); the query should be in double quotes* *execute the query (remember to get the results from the query - this is now just a number; you can still use $result again if you'd like)* *use this code from insertbook to see if the update worked* *if($USE-YOUR-VARIABLE){ echo "Record updated successfully."; } else{ echo "ERROR: Could not execute "; }* 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!