包括(' Connect.php') $ sql ="插入药物值(' $ _ REQUEST [code_med]',' $ _ REQUEST [name_med]',' $ _ REQUEST [exp_date]& #39;,' $ _ REQUEST [qte_med]')";
mysqli_query($ sql,$ con); echo"记录成功插入=" 。 mysqli_affected_rows($ CON); mysqli_close($ CON)
答案 0 :(得分:0)
include('Connect.php')
添加之后;像这样include('Connect.php');