PDA

View Full Version : Where am i going wrong?


Jay...
28 Mar 2007, 21:09
Now i have very limited knowledge of PHP, basically im a trying to add a ratio to my postbit with the code...



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



all that shows is 'Number of uploads'/'number of downloads' it does not actually divide the two numbers shown in [downloads] and [uploads]

Marco van Herwaarden
29 Mar 2007, 08:09
You can not perform calculations in a template (= HTML).

You would need to create a plugin to do the calculations.

Jay...
29 Mar 2007, 10:45
ok thanks marco