|
Answer» http://photos-p.friendster.com/photos/04/18/30778140/1_547450374l.jpg" border="0"/>
my question is.., how to generate new pages in php,., LIKE the PICTURE above.? Help me please.,.hey.,. bannana97.,. the photo you are using is a picture from my friendster photo album.,
and if that is your problem.,. well its so easy., yet it takes three hours for me to figure out the code.,.
just search for 'php pagination'., that is the rigth term., not new page generation,..,. Was this asked before?
Anyway... It's basically a conditional statement, like this:
Code: [SELECT]if ($num_topics >= 20) { echo "Page: 1, 2, ...."; }
There's probably a foreach statement there also, so it updates itself.
|