Date: 06/29/02
- Next message: Chase: "[PHP-DB] Excel to MySQL??"
- Previous message: andy: "[PHP-DB] Re: [PHP] saving temporary image to database"
- Next in thread: Jason Wong: "Re: [PHP-DB] AVG fucntion help"
- Reply: Jason Wong: "Re: [PHP-DB] AVG fucntion help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Chase: "[PHP-DB] Excel to MySQL??"
- Previous message: andy: "[PHP-DB] Re: [PHP] saving temporary image to database"
- Next in thread: Jason Wong: "Re: [PHP-DB] AVG fucntion help"
- Reply: Jason Wong: "Re: [PHP-DB] AVG fucntion help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

