Question: 1 . ( 4 points ) Explain the difference between the object - oriented and procedural syntax and the libraries each uses. Explain when each

1.(4 points) Explain the difference between the object-oriented and procedural syntax and the libraries each uses. Explain when each might be used or why one might be preferred over another.
2.(4 points) What is a stored procedure? Show one here using proper syntax and explain what it is doing (example should be different from the book examples). Use reference(s).
3.(3 points) Modify the code to ensure that any whitespace the user might have inadvertently entered at the beginning of his search term is stripped.
$termsearch=___($_POST['__________']);
4.(3 points) Modify the code to instantiate the mysqli class and create a new connection to host localhost with username user01, and password Bbb123@#eW. The connection should also be set up to use the database called house.
@$db =______('localhost','______','______','_____');

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 Programming Questions!