, right?
Whil
This will show a lot useful information about what your web server and
your php can or cannot do.
Linux NG/Lists wrote:
The book I'm working with (PHP MySQL Web Dev, Welling/Thompson)
specifically defines the 'new mysqli' syntax. So I'm guessing I
don't have something
The book I'm working with (PHP MySQL Web Dev, Welling/Thompson)
specifically defines the 'new mysqli' syntax. So I'm guessing I don't
have something configured right?
If one works the other should too. Your code here looks fine according
to the manual
From a php-general thread earlier:
?php
$db=new mysqli('localhost','whil','secret','test');
?
generates:
Fatal error: Call to undefined function new mysqli() in index.php on
line 24
while
?php
$conn = mysqli_connect(localhost,whil,secret,test);
echo 'conn good: '.$conn.'