RE: [PHP-DB] no output of the fieldentries

From: Date: Tue, 06 Nov 2001 19:03:23 +0000
Subject: RE: [PHP-DB] no output of the fieldentries
Groups: php.db 
Request: Send a blank email to php-db+get-14070@lists.php.net to get a copy of this message
Bitten Sie dies versuchen: while($i < mysql_num_fields($result)) { $row=mysql_fetch_array ($result); echo $row['ID']; echo $row['Bezeichnung']; echo $row['Auswahl']; $i++; } -----Original Message----- From: rhelms@mayn.de [mailto:rhelms@mayn.de] Sent: Tuesday, November 06, 2001 12:17 PM To: php-db@lists.php.net Subject: [PHP-DB] no output of the fieldentries Hi, I'll create a online helpdesk-system for user. But I've the problem that the content of the databasefield is not shown in browser. In the databasetable there is one recordset to display. What is the reason, why the fieldcontent is not shown. Regards, Ruprecht <? mysql_connect("localhost","root"); $result=mysql_db_query("helpdesk","select * from beginn"); $i=0; while($i < mysql_num_fields($result)) { echo "Information for column $i"; // $row=mysql_fetch_field ($result); echo "$row->ID"; echo "$row->Bezeichnung"; echo "$row->Auswahl"; $i++; } mysql_free_result($result); // echo $row; ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#14070) next »