DreamWeaver reports an error when saving the document, which gives me a headache. I don't know why? Please help me please (I am new to PHP and have only recently come across it)
P粉3742599732022-05-24 10:38:01
0
5
1309
An error will be reported when saving the document Fatal error: Uncaught ArgumentCountError: Too few arguments to function mysql_select_db()
replyThank you for your reply! The source code is if (!function_exists('mysql_select_db') AND function_exists('mysqli_select_db')) {
function mysql_select_db($database_name, $link)
{
return mysqli_select_db($link, $database_name);
}
}
The source code before switching the default style of the template (the source code of Dreamweaver has not been changed) is also like this. But at that time, articles can be added, but after changing the default style of the template in the system, they cannot be added, and this error is always displayed.
How's it going, classmate, it's the same problem that I can solve without me
Mysql_select_db() The number of parameters filled in for this function is small. Please confirm several parameters in the source code