Forms, php and SQL Queries... help needed for a newbie :-)
I have a form with dropdown lists forf the user to choose from, I use the POST method to pass this information to a results.php page. On the results.php I have created a dynamic table to display the results, where I'm having problems is using the Recordset to display the right query... using the WHERE command. It works when I do a single query on one of the fields, (using the Simple section of the recordset popup), but this now only seems to work when I click Test... when I publish the page no results are returned.
2nd problem is then the SQL code for returning records based on more than 1 criteria.
I'm getting myself a bit confused reading the the Dreamweaver help with variables etc, and which I should be using, and do I have to define them or is it automatic?... and whats 'colname;??
All help appreciated. Sorry for al the questions![]()
Thanks
