note 13733 deleted from ref.mysql by betz

From: Date: Wed, 21 Apr 2004 10:09:51 +0000
Subject: note 13733 deleted from ref.mysql by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68422@lists.php.net to get a copy of this message
Note Submitter: keith@keithtyler.com ---- It looks like the reason for the double vision is so that when you want to use the sql results, you can call the array elements via either indices (e.g. $line[0], $line[1], etc.) or by their database field names (e.g. $line["uid"], $line["pw"], $line["gid"], etc.). You can see this by changing the example to print $col_name as well as $col_value. Each repeated val shows up with a different key (of course) each time.

« previous php.notes (#68422) next »