12.05.2013, 09:05
1. Could you please post the printed values for the query variable for some of them.
2. May sound like a stupid question, but have you used db_open?
3. Is it actually reaching the queries? Use print around the queries and see if that area of code is being printed .
4. Try taking out the ' and ' around the numerical values. This may be causing issues if the fields are integers in the database.
2. May sound like a stupid question, but have you used db_open?
3. Is it actually reaching the queries? Use print around the queries and see if that area of code is being printed .
4. Try taking out the ' and ' around the numerical values. This may be causing issues if the fields are integers in the database.