I have an array something like (array(1 => info, 2 => more info, 3 => even more info)) I do: <?php $arts=$xpath->query ("/site/categories/); foreach($arts as $art){ $name = $art->getAttribute("name"); ?> HTML code that uses $name goes here. PHP: and I end up with a page full with diffrent content. sometimes its bigger than the page. how can I split it into pages?
I retrieve the attributes from the xml and show them in HTML. for each $name it creates a box with that name. in some cases there are too much names. I need to split it into pages.
never mind I figured it out myself... it funny how I open a thread and a minute after I have the code working.