getting data from sql
Posted: Sat Sep 16, 2006 5:12 pm
i have a table
and i want to extrat the data from it where game_id is different from one another? How could this be done.
Code: Select all
$sql[] = "CREATE TABLE " . $table_prefix . "favorites(id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), user_id INT(7), game_id INT(6))";and i want to extrat the data from it where game_id is different from one another? How could this be done.