Re: Testing MySQL PHP connection

From: Date: Mon, 09 Jul 2007 15:17:59 +0000
Subject: Re: Testing MySQL PHP connection
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28178@lists.php.net to get a copy of this message
Jacob Bergman wrote:
While trying to connect to the mysqll database with php, I use the following file:
<snip lots of code including the root password!!>
When I access this file I I get "Fatal error: Call to undefined function mysqli_connect() in C:\Program Files\Apache Group\Apache2\htdocs\mysql_up.php on line 13" Not sure what is wrong... I'm pretty new to all this and grabbed this out of a book. Thanks for the help!
You need to enable/install the MySQLi extension. Your book should tell you how to do that, if not: http://php.net/mysqli -Stut -- http://stut.net/

« previous php.windows (#28178) next »