RE: [PHP] Dynamic List Using Php

2003-01-21 Thread Edward Peloke
So the select will be generated from values in the db? here is an example of something I did.. print" City:"; print" "; $result2=mysql_query("SELECT distinct(city) from listings where approved=1 and state='$state' and country='$country'");

Re: [PHP] Dynamic List Using Php

2003-01-21 Thread cal
unless you want to submit the form to the server for each new entry (bad mojo) then I would recommend you look into using JavaScript to do this. (much easier and faster.) Once the user has entered all their entries then submit the form and update your database or storage medium of choice. IMHO, e