🔒 Closed Help po, pano po ilabas yung picture from database

Status
Not open for further replies.

Lenardkun

Fanatic
1644903086820.webp
1644903116339.webp
1644903138268.webp
Yung unang pic po yung dapat po na magaya ko. Pwede po paturo kung pano mapapalabas yung picture kasi file name lang po yung lumalabas at hindi ko po mapalabas ng maayos yung mga data. halo halo po sya. Sana po may makatulong sakin. Salamat po!
 
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/>
 
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/>
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 po
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 715
    Views
  • 2
    Participants
Last reply from:
Lenardkun

Trending Topics

Online now

Members online
1,088
Guests online
7,963
Total visitors
9,051

Forum statistics

Threads
2,354,257
Posts
29,382,932
Members
1,079,394
Latest member
vhenz
Back
Top