Jump to content

[SOLVED] MySql ordering....


ohdang888

Recommended Posts

Try:

 

$new_games = mysql_query("SELECT `game_picture_url`, `type`, `title`, `counter` FROM `game` ORDER BY `counter` DESC LIMIT 18")
or die(mysql_error());

 

I'm not sure if any of those column names are reserved for MySQL, its generally good practice to encase them in a `

Link to comment
https://forums.phpfreaks.com/topic/86567-solved-mysql-ordering/#findComment-442321
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.