Question: Using PHP 5.4 or 7.0 and MySQL, without using mysqli_stmt_get_result() so basically using the old style of the bind and fetch method create a form

Using PHP 5.4 or 7.0 and MySQL, without using mysqli_stmt_get_result() so basically using the old style of the bind and fetch method create a form that takes user info then save it into a database and displays the data on a webpage.

1) database name galleryexample and the database sql code is provided below

CREATE TABLE comments( cid int(11) not null AUTO_INCREMENT PRIMARY KEY, uid varchar(128) not null, date datetime not null, message TEXT not null, imgFullNameGallery LONGTEXT not null, orderGallery int(11) not null );

2) the image size will be ($fileSize < 50000000)

3) display the user id, image and the message from the database on the website page

4) include the database connection code as well

5) do not worry abt CSS file (like no need to style it in any sort of way)

6) there must be an upload button and choose file button

7) check to make sure the form does not resubmit upon refreshing the webpage

8) will be using HostGator MySQL database to test out the webpage

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!