$rows = mysql_num_rows($result) ;
for ($j=0 ; $j < 3 ; $j++) {
for ($i=0 ; $i < 3 ; $i++) {
$row = mysql_fetch_array($result) ;
echo <a href="image2.php?id= .$row[ ID ]. "> ."<img src= ".$row[ Image ]." />". </a> ;
}
echo "
";
}
The code displays three groups of three images. My understanding was that and (double quotes) should create a new line. However it is just inserting a space between the images. Is the way am callign wrong or is it am using the wrong code to isneert a new line (line break)
实例(图1):
Without echo : ######### With echo : ### ### ###