ok i understand the logic in it, but i am not totally sure about the % thingy. i dont see what its representing, i have looked in the manual but what the heck is "Remainder of $a divided by $b." means. (not good at maths)
and also, can you please maybe help me with my little thingy? mine is more simplier as its only display max 4 inputs, and they all fit in one line.
start
INPUT INPUT INPUT INPUT
end
i was simply thinking of doing something like:
$num = mysql_num_rows($thumbnails);
if ($num == 1) {
table code for 1 input/image
}
if ($num == 2) {
table code for 2 inputs/image
}
and so on up to 4. But i belive that is a bit.. not neccesary or how you would put it.
how would you do this?
thanks