Question
Create two tables in your database as USERS(UserFullName, Username, Password) and PHOTOS(PhotoName, caption, photodata, Username). Write PHP scripts that allow a user to do the
Create two tables in your database as USERS(UserFullName, Username, Password) and PHOTOS(PhotoName, caption, photodata, Username). Write PHP scripts that allow a user to do the following:
1.Register with a username and password;
2.Login with a registered username and password;
3.Upload a photo together with a photo name and a caption;
4.Query the database to retrieve photos using a keyword in either the photo name or the caption;
5.Both search by photo name and caption should allow partial match. Your scripts should list all photos whose name or caption contains the search keyword.
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