php-db | 2001062

[PHP-DB] RE: php: $array["fieldname"] gives "undefined index" err From: Al Savage (asavage <email protected>)
Date: 06/23/01

** Reply to note from Jonathan Hilgeman <JHilgeman <email protected>> Fri, 22 Jun 2001 14:44:57 -0700

Jonathan asks:
   
> Whats your query look like? Do you perform any joins?

Hmmm . . . everything after "$query" got chopped off, and didn't
display in the digest version I received. Well, I'll try again:

* $query
= "SELECT * FROM $table WHERE CustNo='$CustNo'";*

I put it on two lines above, with a leading "*" and trailing "*", so
lets see if it shows up this time, eh?

Pretty vanilla stuff.

[ . . . ]

Summary: associative index does not work, triggers
"Warning: Undefined index: Website [...]"
but numeric index works.

Regards,
Al S.

-- 
* Hillman & other Rootes Group manuals online: http://asavage.fdns.net/Hillman
* Ford Falcon manuals online:                  http://FalconFAQ.fdns.net

Do not disturb. Already disturbed, thankyouverymuch.

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>