Bug #2951: returns document contains no data

From: Date: Fri, 10 Dec 1999 13:00:41 +0000
Subject: Bug #2951: returns document contains no data
Groups: php.dev 
Request: Send a blank email to php-dev+get-13556@lists.php.net to get a copy of this message
From: wuepping@wmo.de Operating system: Suse Linux 6.2 0-3 PHP version: 3.0.12 PHP Bug Type: MySQL related Bug description: returns document contains no data First I compiled PHP with the Mysql and Apache Module, and it worked. then I have uninstalled it and recompiled it again and configured it like this: ./configure --with-mysql --with-db2 --with-apache=../apache_1.3.9 --enable-track-vars But now I can`t connect to a mysql Database. The connection to the mysql Server seems to work. my php command line looks like this: <?php mysql_connect ("localhost:3306","root","mypassword"); $result = mysql_db_query ("ubr", "select * from persdat"); while($row = mysql_fetch_array($result)) { echo $row["user-id"]; echo $row["fullname"]; } mysql_free_result($result); ?> (modified query from the php manual). This Query returns "The Document contains no Data" at my Browser.

« previous php.dev (#13556) next »