thanks Shiju... I had in fact came quite close to using a similar system using mysql_fetch_row instead of mysql_fetch_array....
however, in terms of my table, I still have the same problem: I do not have a way of putting the data into the table unless i know how many elements to put in before creating a new <tr>[html table row].
at the moment i have:
while(mysql_fetch_row ($this->Query_ID)):
$i = 0;
echo "<tr><td>$db->Rowdata[$i]</td>
<td>",
$i++;
This is far from working. Is there a way of findin the amount of elements in an array ?
Then I could do something like:
while($array=mysql_fetch_row ($this->Query_ID)):
$i = 0;
$j = [amount of elements in $array];
echo "<tr>";
while ($i < $j):
echo "<tr><td>$db->Rowdata[$i]</td>
<td>"; $i++;
endwhile;
echo "</tr>";
it's all a bit stream-of-thought so apologies if i'm not clear.... thanks a lot though for all help from everyone so far
-nick
[This message has been edited by zcrar70 (edited July 11, 2000).]
[This message has been edited by zcrar70 (edited July 11, 2000).]