At first, create a MySql database named "Database1" inside that create a table named "tbl1". Inside that table, create "name","age" table fields. That's all the things you need to do in database section.
Now copy the coding provided below and save as in .php extension inside servers root folder. If worked properly , it will display success or else failed.
Insert Data into database Program in PHP
Click Here to get -- > Php Tutorials by Studentsblog100