ramram Posted August 1, 2006 Share Posted August 1, 2006 OK. SO this will a my very first project. It's very simple but since I do not know any mysql stuff.I need to make a database with following three items.1) City Name2) Country in which city is located in.3) City's Zip CodeThat will be the MySQL part.On the php section. I want to make a search.php page in which you can type any of the above and it will return a small table with all of the values.For example. If in my database. there were: San Fransisco, California, 95001San Jose, California, 95111new york city, new york, 10111and in the search.php's search box if I was to type 10111. The results will return me New York City, New Youk, 10111.Contact me for more info. Thanks and have a peaceful day. Link to comment https://forums.phpfreaks.com/topic/16180-mysql-database-help/ Share on other sites More sharing options...
fenway Posted August 2, 2006 Share Posted August 2, 2006 Sounds simple enough... you'll need to make a DB table with the appropriate columns, as you've decribed. Your PHP code can contain a simple MySQL query to pull back this information and display it nicely. There are many tutorials around that can help you with these basic steps. Link to comment https://forums.phpfreaks.com/topic/16180-mysql-database-help/#findComment-67815 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.