PDA

View Full Version : adding a number infront of results


wolfe
12-28-2007, 04:31 PM
example

1. xxxx
2. xxx
3. xxxxx

i have figured out how to do it but after it reaches the next page it resets to 1 again

any ideas

WhaLberg
12-28-2007, 05:43 PM
Add this to while loop:


eval('$results .= "' . fetch_template('templatename') . '";');


Add this to the main template:


<ol>
$results
</ol>


Add a new template:


<li>$result[field]</li>

wolfe
12-28-2007, 06:09 PM
m8 its not working properly

WhaLberg
12-28-2007, 07:45 PM
Copy paste your whole code so we can figure out what's wrong.