Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.