View Single Post
  #5 (permalink)  
Old 07-19-2008, 05:08 PM
jScott_Harris's Avatar
jScott_Harris jScott_Harris is offline
WebProWorld Pro
 

Join Date: Jun 2003
Location: Madisonville, Ky
Posts: 101
jScott_Harris RepRank 0
Default Re: Help -- SELECT Function PHP Script

it looks like you're already getting all the messages in an array, just reverse the array: PHP: array_reverse - Manual

you could have something in the php code like this:

if(isset($rev)):
$myarray=array_reverse($myarray);
endif;

and if $rev isn't set, it would display as it does now, but once its set, the array will come up in reverse.
__________________
J. Scott Harris
Developing the Web one site at a time | C.A.D Website Design
Reply With Quote