I'm new here, yea this looks like i'm just fishing info and leaving.. Well it doesn't have to be so.
Ok what ever.
My problem is this:
I have an ad website under developement and it has multiple gategories where same ad can be. But the order is always different. So how could this have been done?
I have idea like this in mysql tables:
-- Categories --
category (the name like sport, horses, dogs...)
order (helds numbers wich will be the ids of ads.)
-- Ads --
My function will use this -> Mainos('category'); So it will print all ads in order wich is told in category table in order row of the category. And it will start new row allways after colspan total = 3
I hope someone understood what I asked and is able to help me :)