note 11886 deleted from function.mysql-fetch-array by didou

From: Date: Fri, 06 Jun 2003 13:22:12 +0000
Subject: note 11886 deleted from function.mysql-fetch-array by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49860@lists.php.net to get a copy of this message
Note Submitter: justint@linkline.com ---- Hi I'm not sure if this is correct behavior or not but thought I would point it out none the less. If you use field names to access a fetched array index then I have found the field name is case sensitive. ie:<br> $row = mysql_fetch_array( $result );<br> print( $row['Id'] );<br> The field name Id works if the corresponding database field is Id however the above query failed for me when I had written Id as id. Hope that made sense to everyone. <br> Justin

« previous php.notes (#49860) next »