Thats my code!

What I want to be able to do is have it so instead of one column there are 
two columns of pictures:

pic1      |     pic2
pic3      |     pic4


How can I do this?

Thanks in advance!


$mysql_access = mysql_connect("********", "******", "*********");
mysql_select_db("*********", $mysql_access);

$query = "SELECT * FROM Pictures";
$result = mysql_query($query, $mysql_access);

if(mysql_num_rows($result)) {
  $counter = 0;
    while($row = mysql_fetch_row($result)) {

printf("<a href=\"$row[2].jpg\"; 
printf("<img src=\"$row[2]_th.jpg\"; 



Get your FREE download of MSN Explorer at

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to