How to add space between the images being fetched using database through php

Posted by ParveenArora on Stack Overflow See other posts from Stack Overflow or by ParveenArora
Published on 2011-11-29T09:39:58Z Indexed on 2011/11/29 9:50 UTC
Read the original article Hit count: 294

Filed under:
|

I am using following code to fetch images using database with php.

while($row = mysql_fetch_array($result))  //To excute result query 

{

echo "<a href='http://".$row['website']."' target='_blank'><img src=\"" . $PathImage .       $row['logo'] . "\" height = $FooterWidth /></a>XX;

}

Here I am using $row[logo] is fetching the path of images stored on the server and XX to put the spaced between the images having the same color of text XX as background, and but I want to use the proper method I know this can be done using table but I want to do it without using table.

Any Suggestions?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql