[PHP-DB] AVG fucntion help From: CrossWalkCentral (webmaster <email protected>)
Date: 06/29/02

Using PHP

I need some help running and AVG qery

the syntax is as follows

$results=sql_query("Select AVG(rate) from MYTABLENAME where id=$id",$dbi)

This works but I am not sure how to get is value into a variable.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php