AVG fucntion help
| From: | CrossWalkCentral | Date: | Sat, 29 Jun 2002 19:15:06 +0000 |
| Subject: | AVG fucntion help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20201@lists.php.net to get a copy of this message | ||
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.