/ Published in: PHP
                    
                                        Navigation panel
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 for ($i=0; $i<$pages; $i++) { if ($i+1==$current_page) echo '<span>'.($i+1).'</span>'; else echo '<a href="'.$_SERVER['PHP_SELF'].'?page='.($i+1).'">'.($i+1).'</a>'; } foreach ($nav as $key=>$chunk) { }
Comments
                    Subscribe to comments
                
                