View Single Post
Old 11-03-2008, 05:26 PM   #8 (permalink)
DeMo
The Contributor
 
DeMo's Avatar
 
Join Date: Jan 2008
Location: Brazil
Posts: 77
Thanks: 14
DeMo is on a distinguished road
Default

POINT is a undocumented (?) data type in MySQL.

Try this:
PHP Code:
$val mysql_query("SELECT MAX(`point`) AS maxpoint FROM `points`");
while (
$able mysql_fetch_array($val))
    echo 
$able['maxpoint'] . "<br />"
Or an alternative would be this query:
PHP Code:
"SELECT `point` AS maxpoint FROM `points` ORDER BY `point` DESC LIMIT 1" 
Send a message via ICQ to DeMo Send a message via MSN to DeMo Send a message via Skype™ to DeMo
DeMo is offline  
Reply With Quote