On Thursday 19 December 2002 23:11, Simon wrote: > Hi, > > I have 6 records in mysql. How can i display all of them, but not using > while. Do i have to use 6 queries. Results need to be hard formated, so > that s the reason why i cant use while.
Not really sure what you need here but I guess you probably want something like: mysql_query(...); $result = mysql_fetch_*(...); // do something with the 1st record $result = mysql_fetch_*(...); // do something with the 2nd record ... ... -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* "Those who will be able to conquer software will be able to conquer the world." -- Tadahiro Sekimoto, president, NEC Corp. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php