Fatal error: Uncaught Error: Call to undefined function mysql_query() in C:\xampp\htdocs\Online_quiz_work\index.php:20 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Online_quiz_work\index.php on line 20 - can you help me solve this?
这是第20行
$rs=mysql_query("select * from mst_user where login='$loginid' and pass='$pass'");