i want to write a guestbook for my website. the following code don´t work:
- Code: Select all
$db = new MySQLi('localhost', 'hiob', 'password', 'hiob');
everytime i get this message:
Fatal error: Class 'MySQLi' not found in /system/wwwprojects/freeunix/users/hiob/index.php on line 5
i tried to use phpinfo() but there is another error message:
Warning: phpinfo() has been disabled for security reasons in /system/wwwprojects/freeunix/users/hiob/index.php on line 2
the 2nd message is ok but why don´t work MySQLi? how can i fix the problem?
thx for help!