Home  >  Q&A  >  body text

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)

An error will be reported when saving the document Fatal error: Uncaught ArgumentCountError: Too few arguments to function mysql_select_db()

P粉374259973P粉374259973795 days ago1132

reply all(5)I'll reply

  • P粉517025828

    P粉5170258282023-04-03 15:12:28

    How's it going, classmate, it's the same problem that I can solve without me

    reply
    0
  • P粉374259973

    My problem is solved, just switch the php version

    P粉374259973 · 2023-04-03 15:15:14
    P粉517025828

    Ok, thank you

    P粉517025828 · 2023-04-04 21:10:50
  • autoload

    autoload2022-05-24 23:11:21

    Mysql_select_db() The number of parameters filled in for this function is small. Please confirm several parameters in the source code

    reply
    0
  • P粉374259973

    Thank 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.

    P粉374259973 · 2022-05-25 10:47:08
  • Cancelreply