# \[php\]\[mysql\]Display Highest news id

**URL:** <https://forum.kirupa.com/t/php-mysql-display-highest-news-id/187694>\
**Category:** programming\
**Created:** [May 1, 2006, 4:47pm UTC](https://forum.kirupa.com/t/php-mysql-display-highest-news-id/187694 "2006-05-01T16:47:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaxza](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zaxza/32/2227_2.png) [@Zaxza](https://forum.kirupa.com/u/Zaxza)\
**Post date:** [May 1, 2006, 4:47pm UTC](https://forum.kirupa.com/t/php-mysql-display-highest-news-id/187694/1 "2006-05-01T16:47:02Z")

</div>

I have a php/mysql news management system, and on my main page i want to display my latest news. Basically i need to include the page with the highest news id my pages are set like this:

“news.php?newsid=21”

Is there a way to do this?
