Hi,
Having a bit of a problem. I'm storing a bunch of data and retrieving it with mssql_fetch_array, and outputting it like so:
What I'm trying to do is output 4 results per table, and then make another table if there's already 4 results in the previous table. Obviously with the above code I can't do that because the while puts it all inside one table.
Hope that's clear, and hope someone can help!
Cheers in advanced
Having a bit of a problem. I'm storing a bunch of data and retrieving it with mssql_fetch_array, and outputting it like so:
Code:
(code goes here to retrieve the details)
<table>
while( $row = mssql_fetch_array( $query ) )
{
$type = $row["pm_type"];
$id = $row["pm_id"];
$name = $row["pm_name"];
$img = $row["img"];
$img_full = $row["img"] . "_full";
$AP = SomeFunction( $type, $id );
echo "<td>whatever here</td>";
}
</table>
Hope that's clear, and hope someone can help!
Cheers in advanced