Forum Moderators: coopster
then it shows
the correct code but it does not trigger the img display
I doubt it's even possible
but if it was I could extract from the result passed by the form the needed data, actually the thum's name.
$num=$db->num_rows($result);
$i=0;
echo '<select name="thumb_name">';
$i=0;
while ($i <$num)
{
echo '<option>';
$thumb_name=mysql_result($result,$i,"thumb_name");
$thumb_name="<img src=\"../galleries/all_gal/$gal/thumbs/$thumb_name\">";
echo"$thumb_name";
$i++;
}
echo"</option></select>";