Howdy yall!
For some reason, mysql won't order my News tables on my website.
PHP Code:
$sql_text = "SELECT * FROM ".$this->TABLES['news']." WHERE id = '".$id."' ORDER BY id DESC";
I'm assuming that the ORDER BY will order the sellected information from the database pull by highest id to lowest id.
For some reason it isnt wanting to
Also, I'm having trouble with Line breaks in my news forms. In the database it is showing the correct line breaks, but when displayed on website, its all one big line. http://www.operanonverba.com/index1.php?page=news
If you need anymore code please let me know. I don't know what im doing wrong with the order by.
Thankyou,
Greg
__________________
Websites Created;
warscope.com
ratepayers.org.nz
|