Mysql
 sql >> Database >  >> RDS >> Mysql

Come creare una tabella PHP a due colonne con valori dal database?

echo "<tr>";
while($res = mysql_fetch_array($q)){
    $count++;
    if (!($count % 2)){ echo "</tr><tr>"; }
    echo "<td>{$res['id']}{$res['title']}</td>";
}
echo "</tr>";