0

The error says:

Fatal error: Uncaught Error: Call to undefined function mysql_connect () in C:\xampp\htdocs\computerized_grading_database_system\addstudent.php :5 Stack trace: #0 {main} thrown in C:\xampp\htdocs\computerized_grading_database_system\addstudent.php on line 5

P.s. it runs on the other computer.

  • Possible duplicate of [this](https://stackoverflow.com/questions/13825108/undefined-function-mysql-connect) SO question. – Jeroen Heier Jan 31 '18 at 05:00

1 Answers1

0

You can reference here for your error,

[a link] Fatal error: Uncaught Error: Call to undefined function mysql_connect()

You can learn about inserting data into database here,

[a link] https://www.w3schools.com/sql/sql_insert.asp

Zoe
  • 29
  • 6