With the combined effort of my PHP Array Pagination script and this tutorial you will be able to pagination results (database & non database driven results) and intergrate it easily with the smarty template engine. So, to start download the PHP Pagination script and then put it into a directory within your smarty setup. During [...]
Posts Tagged ‘template’
Mar 24 2008
Simple Modular Arithmetic with Smarty Template Engine
Something i take for granted in PHP is the use of Modular Arithmetic when display results in a grid like format. Usually in php, i would do something like this to display three items per row if ($count % 3 == 0) { // Add Break / Clear here } So i assumed something like [...]