how to store multile images full path into database so that i can display them in user home page lik

Posted by Deepak Narwal on Stack Overflow See other posts from Stack Overflow or by Deepak Narwal
Published on 2010-03-07T18:20:37Z Indexed on 2010/03/08 11:51 UTC
Read the original article Hit count: 203

Filed under:

I am making an application in which every user have to sign in first and then he can access his home page.Now on home page i have given a option of uploading image.Now if user is uploading one image i am storing the full path of uploaded image into database and from there i can display image easily by img tag...

But what should i do when user want to upload many images.Then how i should store their full paths in database for same user.Give me an idea just like orkut or facebook.Should i amade a differnt table named images and i should store images in differnt rows with same username..Plz explain what showuld i do..I dont know the logic what showild i do...How i can upload many images and how i can store thri path and what will be the wisest method and how to display many images on one page(i can display one )

© Stack Overflow or respective owner

Related posts about php