I have a mysql database named DEALER with tables named by states.
My script displays all the data correctly if I manually inculde the FROM
state name.I want to make a form to let someone choose the state and run the query. I
have tried and failed can someone show me what I am doing wrong?My
]
Sent: Friday, March 07, 2003 12:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP-DB] Searchform to results.php
I have a mysql database named DEALER with tables named by states.
My script displays all the data correctly if I manually inculde the FROM
state name.I want to make a form
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Searchform to results.php
SELECT .. FROM .$_POST['searchtype'];
I'm not to sure if this is just for easy ready, but I haven't too many
instances where the query is in all caps.
Anyone, does case matter