On 02-Jun-2003 Ralph wrote:
> I'm querying a database then printing the results in a . What I
> want to do is format the results in a with 4 columns per row.
> Any suggestions?
>
> Thanks.
>
$modulo=4;
unset($a);
echo "\n";
while($row = $r->FetchRow()) {
if (count($a)
probably something like:
echo "";
$rs=mysql_query("select * from blabla;",$conn);
while($row=mysql_fetch_row($rs)) {
echo "";
echo "".$row[0]."";
echo "".$row[1]."";
echo "".$row[2]."";
echo "".$row[3]."";
echo "";
}
echo "";
R> I'm querying a database then printing the result
I'm querying a database then printing the results in a . What I
want to do is format the results in a with 4 columns per row.
Any suggestions?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo