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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started