Jump to content

help with select statement


gple

Recommended Posts

mysql_query("SELECT * EXCEPT field1, field2, etc FROM table WHERE);

 

Correct me if i am wrong, but i believe adding in a WHERE clause requires that arguments be supplied, i think the code above would just error as soon as the database attempted to execute the query.

 

gple, if you remove your where clause completely, youshould get back all of the results in the table e.g.

 

mysql_query("select * from 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.