Page 1 of 1
Problem with a function
Posted: Fri Apr 20, 2007 5:24 am
by Smasher
Help!
Posted: Fri Apr 20, 2007 5:48 am
by jayshields
Have you uncommented the mysqli module in your php.ini?
If so, echo php_info() and show us the output. If that's also fine, you'll have to show us some more code, especially bits including $db.
Posted: Fri Apr 20, 2007 6:01 am
by Smasher
$db = new mysqli($dbhost,$dbuser,$dbpass,$defaultDB);
if(mysqli_connect_errno())
{printf("Connect failed: %s\n", mysqli_connect_error());
exit();}
Cant get on the server atm to even test, le sigh.
Posted: Fri Apr 20, 2007 6:35 am
by Kieran Huggins
Smasher wrote:le sigh.

Posted: Fri Apr 20, 2007 8:25 am
by Smasher
PHP Version 5.1.4
System Windows NT S71569 5.2 build 3790
Build Date May 4 2006 10:30:29