🔒 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
  • 693
    Views
  • 2
    Participants
Last reply from:
Lenardkun

Online now

Members online
1,021
Guests online
877
Total visitors
1,898

Forum statistics

Threads
2,276,231
Posts
28,968,504
Members
1,231,175
Latest member
cflakashi
Back
Top