Jump to content

Mysql Command Not Working The Way I Had Hoped!


njdubois

Recommended Posts

Using phpMyadmin, the mysql tool godaddy provides:

 

I have a table named users with these fields:

id, name, password, contact_id

 

there is a bunch of rows where the contact_id=NULL

 

I only want to view those:

SELECT * FROM users WHERE contact_id=NULL

 

but it returns 0 results?

 

SELECT * FROM users WHERE contact_id="NULL"

SELECT * FROM users WHERE contact_id=""

 

return the same, nothing.

 

What can I post to better help you diagnose my problem?

 

Thanks for your time!

Nick

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.