Hi,

This is the code i'm using so far :

<?php
$db = mysql_connect("localhost","user","pass");
mysql_select_db("mydb",$db);

$result = mysql_query("SELECT * FROM sms ORDER BY ID
DESC",$db);
if ($myrow = mysql_fetch_array($result)) {
  do {

   echo("<b><font color=#6ed8ff>$myrow[num]</b>
<br>");

  } while ($myrow = mysql_fetch_array($result));
} 

else {
  echo "Sorry, no records matching your criteria were
found!";        
}
?>

But this displays all records one per line...

T. Edison Jr.



=====
Rahul S. Johari (Director)
******************************************
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
*******************************************

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to