|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-22 19:24 UTC] mrobinso at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 09:00:01 2025 UTC |
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.