Hi
Thanks Devinemke for the help i tryed to use the array_chunk function to display the photos in my database in 4 columns instead of listing one photo under other but i wasn't successfull this is how i used the code to display:
$photos=$result["photo"]; // where displays the url of the photos
$Array=array("$photos");
$rows = array_chunk($Array[0], 4);
printf("<img src='$rows'>");
it gives the following error: Warning: array_chunk() expects parameter 1 to be array, string given in /home/photos/public_html/produtos.php on line 406
How do i correct this in order to display the photos in 4 columns with this function?
Once again Thanks!