Jump to content

Mysql select from help


dink87522

Recommended Posts

 

mysql_select_db("amazon_Score") or die(mysql_error());
$query = SELECT ageGroup FROM Highscores WHERE ageGroup = "16-30";
$result = mysql_query($query) or die(mysql_error()); 

 

Why do I get a T string error (2nd line)? I want to select all the data from the column ageGroup whose value is equal to "16-30".

Link to comment
https://forums.phpfreaks.com/topic/186568-mysql-select-from-help/
Share on other sites

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.