Jump to content

[SOLVED] Rows displaying randomly in php


rnb_cassanova

Recommended Posts

Hi guys,

 

I have got a mysql database displaying in PHP but everytime a row is added, they do not order by the auto increment ID, but all random instead. Can anyone have an idea how to put them in descending order?

 

My Code -

 

<?php

While($row = mysql_fetch_array($result))

{ ?>

    <tr>

      <td width="78"><div align="center"><?php echo $row['ProposalID']?></div></td>

      <td width="103"><div align="center"><?php echo $row['Name']?>

      </div></td>

 

Thanks Guys

Link to comment
https://forums.phpfreaks.com/topic/88359-solved-rows-displaying-randomly-in-php/
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.