The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Averaging MySQL fields
Hi,
I'm trying to write a simple query to retrieve an average of fields in one of my tables. Code:
$average = $DB_site->query("SELECT AVG(points) FROM usrPoints WHERE atoContId = 662"); Can anyone help me set the query to actually return a value? Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|