1. Uploading Process
a. Make a directory that will store your uploaded image. Directory/folder must be saved in the same directory as your project
b. When upload is started, simply make a copy of the image into the directory created in 1.a (Optional: Rename photos based on record id and add desc etc)
b. Insert filename.jpg into the table (nagawa mo na to)
2. Displaying image(s)
a. Write a query to retrieve all image(s)
b. make an img tag and set the source properly. Ex'< img src#='./directory/filename/>
okie na po sya. natapos ko nadin po yung mga natira katulad nung magdidisplay yung mga magkakacategory na product. CSS nalang po kulang ko hahaha. Thank you po1. Uploading Process
a. Make a directory that will store your uploaded image. Directory/folder must be saved in the same directory as your project
b. When upload is started, simply make a copy of the image into the directory created in 1.a (Optional: Rename photos based on record id and add desc etc)
b. Insert filename.jpg into the table (nagawa mo na to)
2. Displaying image(s)
a. Write a query to retrieve all image(s)
b. make an img tag and set the source properly. Ex'< img src#='./directory/filename/>