Code: Select all
$host = 'localhost';
$user = 'root';
$pass = 'anypassword';
$connect = mysql_connect($host, $user, $pass) or die("Check your server connection.");Code: Select all
mysql_create_db("wiley") or die(mysql_error());by default, these extensions are uncommented in the php.ini of xamppCall to undefined function: mysql_create_db() in C:\XAMPP\xampp\htdocs\sample\_debug_tmp.php on line 13
Code: Select all
extension=php_mysql.dll
extension=php_mysqli.dll