I have a form that contains about 3 SQL calls to different tables with them all displaying the results. My last select statement which looks like:
Code:
SELECT * FROM manufacturers WHERE manufacturers_id = '$prod_id'
$prod_id is taken from another table once the selected record has been chosen. (I have tried this select statement directly into MySQL and it works like a treat but it does not seem to work on the form). Am I missing something?
This code does not seem to be working in extracting any data. I get the error message saying that there is no data in the manufacturers table. But there is data in there, all 40 rows.
I've been round this problem all yesterday and today and still no joy.
Is there a limit as to how many queries you can make on one PHP page?
Michael.