no output of the fieldentries
| From: | rhelms at mayn dot de | Date: | Tue, 06 Nov 2001 18:16:55 +0000 |
| Subject: | no output of the fieldentries | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14069@lists.php.net to get a copy of this message | ||
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;
?>