MySQL / PHP dating site
Out of context: Reply #35
- Started
- Last post
- 40 Responses
- juhls0
Hey guys, I got half of it working now. Just some querying stuff to do and I also need to figure out how to let someone modify their own profile.
The next thing I am working on is to display some random profiles on the main page.
What can I do to make this work? I looked at various tutorials and information on the internet but all of them seem overly complicated.
http://pastebin.com/m20da394eNot sure if I should do two separate queries...
table: client_photos
column: file_name (or whatever displays the image)table: clients
columns: dob, cityThe client_id has to match from both tables so it's not a random photo being displayed with the dob and city.
I'll have to figure out how to display the age based on the dob later as well.
Thanks for any help again.
- I updated the PHP with some more code that I modified.juhls
- http://pastebin.com/…juhls