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

Reply via email to