- Create a table name details under database details with columns name, phone, email.
- Create a php page called connect.php and write code to connect to the database.
- Create insert.php and include connect.php
- Insert 5 rows of data using php.
- Create select.php
- Select all data and print in a table format.
- Select particular data using name constraint and print in table format.
- Create delete.php
- Delete a row with email as a constraint.
- Create a webpage which includes buttons delete, insert, select.
- The respect pages and their functionality should be done on click of each button.
- Use ajax call to send and recieve data between the frontend and the backend.
-
Should we take data from user in task 2 to insert in table ?
Ans : YES -
What is ajax call?
Ans : Google it you will find it.