Jump to content

How to get Highest row?


JJohnsenDK

Recommended Posts

Hey

 

I was wondering if its possible to get the highest row in a database table?

 

function showNewsPicture(){
$qry = mysql_query("SELECT news_picture FROM fusion_news WHERE news_id = 'Highest row'");
$row = mysql_fetch_array($qry);
return $row['news_picture'];
}

 

is this possible??

Link to comment
https://forums.phpfreaks.com/topic/39202-how-to-get-highest-row/
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.