ahh yes 🙂 i had had internet url but i was trying to test it locally... stupid.. ok, nevermind, what i want is to define width and height variables for every image... something like this:
//connection blah blah...
while ($row = mysql_fetch_array($selected)) {
for ($i=1;$i<=6;$i++) {
$image= $row['image_' . $i . ''];
list($width, $height) = getimagesize($image);
$width_1 = $width;
$height_1 = $height;
}
}
but instead of $width_1 and $height_1 i have to do something like $width . $i and $height . $i so at the end i would have 6 different widths and heights. the problem is that i don't have any clue how to do that... silly me 🙂 please help me because i know it is really simple but, as you can see, i'm not pretty much smart :rolleyes: