I followed what Teacher Han said and modified the
Default Value in php.ini: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED (enable this line)
;error_reporting = E_ALL (Log out this line)
Submit data error: Fatal error: Call to undefined function mysql_connect() in
C:\wamp\www\xuesheng\xuesheng.php on line 11
When the default is not to modify: It’s the same as what Teacher Han prompted before modifying it. Why can’t I modify it? Because the Chinese characters displayed in the command window are all ?????, I suspect that this is a problem that has not been successfully modified, but it cannot be modified. My character set uses utf-8, and the character set used to create the table is also utf8, so it should be fine. , I have been working on it for a long time but I still don’t understand it. Please ask a teacher to help me. Thank you!