Jump to content

php mysql with 3 "and" condition


phppaper

Recommended Posts

You can make a WHERE clause with any number of conditions in it, as long as it makes logical sense and does not exceed the maximum length of a query statement (default is 2M bytes if I remember correctly.)

 

If you have a query that you need help with, you would need to post it.

Is the query producing a mysql error or does it simply return zero rows?

 

What is the data type of the type column? Have you attempted to execute the query directly against your database using your favorite database management tool (phpmyadmin or similar)? Have you confirmed that you have a matching row(s) in your table?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.