[PHP] databases, loops and tables oh my...

2006-02-23 Thread Jason Gerfen
Not sure about this one, I am trying to execute a SQL query to retrieve records then loop over the records and display X amount per line. Any help is appreciated. $sql = @mysql_query( SELECT * FROM subnets, $db ); $num = @mysql_num_rows( $sql ); $subnets .= table width=\100%\trtd

Re: [PHP] databases, loops and tables oh my...

2006-02-23 Thread Jochem Maas
Jason Gerfen wrote: Not sure about this one, I am trying to execute a SQL query to retrieve records then loop over the records and display X amount per line. Any X ammount of what per 'line'? db records (or elelphants)? and by line do you mean 'html table row'? assuming I got that correct,