Bug #1714: number

From: Date: Wed, 14 Jul 1999 17:36:06 +0000
Subject: Bug #1714: number
Groups: php.dev 
Request: Send a blank email to php-dev+get-8499@lists.php.net to get a copy of this message
From: frank@freestyling.de Operating system: freebsd PHP version: 3.0.8 PHP Bug Type: MySQL related Bug description: number Topic: <?php mysql_connect($host,$user,$password); $result = mysql_db_query("database","select * from table"); while($row = mysql_fetch_object($result)) { echo $row->user_id; echo $row->fullname; } mysql_free_result($result); ?> when i use the optional constants (while($row = mysql_fetch_object($result,'???')) "The optional argument result_typ is a constant and can take the following values: MYSQL_ASSOC, MYSQL_NUM, and MYSQL_BOTH. " i allways get the error:Wrong parameter count for mysql_fetch_object(). WHy

« previous php.dev (#8499) next »