$sring = ARRAY?
| From: | Axiom | Date: | Sun, 29 Feb 2004 04:57:25 +0000 |
| Subject: | $sring = ARRAY? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179114@lists.php.net to get a copy of this message | ||
Why is it that in the following code that $value comes back with just the
word ‘ARRAY’ instead of the actual result?
if (($value = mysql_fetch_row($result)) AND ($value == $username)) {
echo "You are authenticated";
} else {
echo "Your username or password is incorrect";
}
-Casey
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.598 / Virus Database: 380 - Release Date: 2/28/2004