Let’s say that you have something like this:
$sqlreq = mysql_query(“SELECT * FROM table”, $connection);
while ($rand = mysql_fetch_array($sqlreq))
and you want to extract the data into columns, from a table (table, tr, td etc).
How to do it?
Download our script and implement it. You can find the script here.
It is very easy to use, implement and modify.
What we have done was to create an i++ situation where we have assigned some variables and added tr and td so your data can be extracted into a table and displayed in columns, not one below other.
If you have any questions, feel free to ask at any time.