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

From: Date: Tue, 17 Jun 2003 16:00:34 +0000
Subject: note 30656 deleted from function.mysql-fetch-array by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50513@lists.php.net to get a copy of this message
Note Submitter: sigit@djpkpd.go.id, harris@djpkpd.go.id ---- if you have to use the field name with number like 1,2,..etc, it cause a problem when you fetch it with mysql_fetch_array. An index array will contain a field name. The solusion is: 1. Use mysql_fetch_assoc to escape the result to html; 2. Use alias and choose another name of field in mysql_query

« previous php.notes (#50513) next »