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