Jump to content

silly simple php mysql query question


monkeytooth

Recommended Posts

Whats wrong with this concept?

mysql_query("SELECT colName FROM tableName WHERE blah='$something'") or die('Error '. mysql_error());

 

For some reason I am just getting error's have I done something wrong?

 

 

I don't see anything wrong with it.

 

Post more of your code. Make sure you have the column name right, and also correct connection info.

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.