Okay, I had the two columns that I wanted to display info from my database into respectively. I just couldn't get that way to work, go figure. Anyhow, I'm trying something different now, a different perspective and guess what? It's not working! How about that. lol It acts as though it's loading, but it takes forever and slows down my computer. Any suggestions would be great. Thx
<?php include( 'dbinfo.php' );
$conn = mysql_connect( $dbhost, $dbuser, $dbpass );
mysql_select_db("naie");
$query=mysql_query("SELECT * FROM keyrings");
echo "<table>\n";
while ($result = mysql_fetch_assoc($query)); {
for($col=1;$col<=2;$col++) {
if ($col == 1) echo "<tr>\n";
echo "<td>".$result
."<td>";
if ($col == 1) echo "</tr>\n";
if ($col == 2) $col = 1;
}
}
echo "</table>\n";
?>
NOTE: I had trouble with the - while ($result = mysql_fetch_assoc($query)); - last time, and this time until I did at the ) and ;