Hi,
I'm very new to PHP, and I'm starting a site to register photographers. I've got the code written to update a MySQL database table. Now that I have information in it, I'm wanting to write a page that users can use forms to look for photographers in their State. Where would be a good tutorial on how to do this? Here are a few examples of what I'm trying to do:
http://www.onemodelplace.com/search_tmp.cfm?type=model
http://www.wedj.com/
These are just the types of things I'm trying to do. I understand the concept of select:
$query = "SELECT id FROM users WHERE state='$state'";
It's more how do I set up the form page for the user to input, then how do I integrate the variable into the select, then how do I make a table that will be populated with photographers and their information for the user to view? I'm wondering if there is a complete sample tutorial out there somewhere, that is basically doing the same thing I'm trying to do, that I could look at as a sample.
-Mick-
How to make a select page/code like this.....
Moderator: General Moderators