image formatting (ch.7)
Hi all,
i have been learning the photo gallery script in ch.7 and was wondering if anyone could help with this:
while ($rows = mysql_fetch_array($getpic)) {
extract($rows);
echo "<tr>\n";
echo "<td align=center><a href=\"".$ImageDir . $image_id . ".jpg\">";
echo "<img src=\"".$ImageThumb . $image_id . ".jpg\" border=\"0\">";
instead of calling the .jpg, i would like to call an html formatted page with the .jpg embedded into it. if anyone knows a simple way to do this, please help a php noob out :)
thanks
|