0

It outputs blank for some reason, here is my current code.

<table>
<?php
$puserid = $anothervalue;
echo public_Images($puserid);
?>
</table>
function  public_Images($puserid){
		
	$sql = "SELECT * FROM `ue-userfile` WHERE userid = '$puserid' AND albumname ='Public' ORDER BY date DESC";
$result = mysql_query($sql);
$count = 0;

while($row = mysql_fetch_array($result)){
if ($count % 4 == 0)
echo'<tr>';
echo'<td><img src="u/'.$puserid.'/thumbs/'.$row['name'].'" class="images"/></td>';
if ($count % 4 == 3)
echo '</tr>';
$count++;
}

return;
}

anything you see or know i dont ? hehe

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by Sorcher
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.