rkz
11-29-2007, 10:33 AM
hello, how to make default picture:
Im using this way:
echo "<div id=\"loadarea\" style=\"background-color:#ABCAFF; min-height:300px;border:2px solid red; margin:0; padding:0;\">Images goes there.. </div>";
echo "<div style=\"float:left\">";
$n=1;
for($i=1;$i<6;$i++){
if (!empty($myrow['image'.$i.''])) {$img=$myrow['image'.$i.''];
echo "[<a href=\"http://www.myweb.de/images/$img\" rel=\"enlargeimage::click\" rev=\"loadarea\">".$n; $n++; echo "</a>]";}
}
I can check if there is image1 in mysql, and how to load it first?
Im using this way:
echo "<div id=\"loadarea\" style=\"background-color:#ABCAFF; min-height:300px;border:2px solid red; margin:0; padding:0;\">Images goes there.. </div>";
echo "<div style=\"float:left\">";
$n=1;
for($i=1;$i<6;$i++){
if (!empty($myrow['image'.$i.''])) {$img=$myrow['image'.$i.''];
echo "[<a href=\"http://www.myweb.de/images/$img\" rel=\"enlargeimage::click\" rev=\"loadarea\">".$n; $n++; echo "</a>]";}
}
I can check if there is image1 in mysql, and how to load it first?