get value
| From: | Jeremy Morano | Date: | Mon, 06 Aug 2001 20:07:20 +0000 |
| Subject: | get value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61473@lists.php.net to get a copy of this message | ||
hi,,,
can someone tell me how to access the value of count? please?
----------------------------------------------------------------------------
---------
$db = @mysql_select_db($db_name, $connection) or die("Couldn't select
database.");
$sql = "SELECT count(*)
FROM $table_name, company
Where company.uid = user.companyUid and company.company = '$PHP_AUTH_USER'
";
$result = @mysql_query($sql,$connection) or die("Couldn't execute query.");
----------------------------------------------------------------------------
----------