MySQL Forums
Forum List  »  PHP

Re: Display limited table info.
Posted by: Dennis
Date: February 23, 2006 10:43PM

Your query should look something like this.

$sql_result = mysql_query("SELECT * FROM annoucements ORDER BY id DESC LIMIT 3");

Options: ReplyQuote


Subject
Written By
Posted
February 23, 2006 07:58PM
Re: Display limited table info.
February 23, 2006 10:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.