lets say im making a dating site. and i want people to be able to insert their own pictures. how would i do that? i have a mysql database. and i want this to happen in php. and then how would i make it display that persons image when someone visits their profile?
tcollins412
0
Junior Poster
Recommended Answers
Jump to PostYou have two options, you can store the images in mysql itself, which I would not recommend, or you can upload the images to your server and store the paths to the user's images in mysql.
When a user hits a profile, it would query the database for 1 …
Jump to PostWhat exactly do you want an example of? The database structure, uploading files with php or storing/retrieving the data from the database?
All 8 Replies
mschroeder
251
Bestower of Knowledge
Team Colleague
tcollins412
0
Junior Poster
mschroeder
251
Bestower of Knowledge
Team Colleague
tcollins412
0
Junior Poster
lyrico
23
Junior Poster in Training
tcollins412
0
Junior Poster
tcollins412
0
Junior Poster
lyrico
23
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.