MyBB Community Forums

Full Version: read the average from mybb dbase and insert it into a template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
first of all, i want to read the average from mybb dbase.

then i want to put the average value into a template, so the user can see this value.

Is it possible?

for example i want to read/calculate the average of the field "x1" into a table "table1" into a mybb dbase "dbase1" and store this value into a variable to put it to a template.