monkeytooth Posted April 2, 2010 Share Posted April 2, 2010 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? Link to comment https://forums.phpfreaks.com/topic/197319-silly-simple-php-mysql-query-question/ Share on other sites More sharing options...
Lukeidiot Posted April 2, 2010 Share Posted April 2, 2010 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. Link to comment https://forums.phpfreaks.com/topic/197319-silly-simple-php-mysql-query-question/#findComment-1035682 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.