Hey THANKS!
It worked.. just the way i wanted! Thank you so much.
T. Edison Jr.
--- RIVES Sergio <[EMAIL PROTECTED]> wrote:
> i don't know if it will work... i am quite a newbie
> in this stuff.
>
> Hope it could help you
>
>
> "Thomas Edison Jr." a �crit :
>
> > 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>");
>
> if ($counter % 5 == 0) {
> print "<br>";
> }
> $counter++;
>
> >
> >
> > } 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
>
=====
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