Heim > Artikel > Backend-Entwicklung > fatal error 网上找的答案都解决不了解决方法
fatal error 网上找的答案都解决不了
错误提示:
Fatal error: Call to undefined function queryMysql() in E:\xampp\htdocs\business\include\days_mgmt.php on line 7
代码:
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?phpif (isset($_POST['btn_add'])&&$_POST['btn_add']=="Add Day"){ $day=$_POST['txt_day']; $day_no=$_POST['txt_day_no']; $query="INSERT INTO TRADING_DAYS_CONTAINER (days_no, days) VALUES ('$day_no', '$day')"; $result=queryMysql($query); //这里的queryMysql()就是mysql_query() if($result) { header("Location:admin_trading.php?class=days_mgmt"); }}?>