Lab#8 Mad
Lab#8 Mad
Lab#8 Mad
Lab # 8
Objective:
To give the basic understanding of the following:
Database is very important because without database there is no possible way to creating tables. Now
make a database on your PHPMYADMIN.
Create a table in your database named as registered user and create four columns id, name, mobile,
email into that table.
After finishing table creation process just upload the below two PHP scripts on your server using file
manager. There are two different type of files present here first one is config.php file and second is
insertdata.php file. Please change the details of your server in config.php file.
After done uploading procedure just open the insertdata.php file URL in your web browser and you can
see that its showing us the user added Successfully message and when you open the PhpMyAdmin
control panel there is a blank value inserted in your table. This value is blank because there is no such
data present for insertion.
After done all the back-end procedure now it’s time to write some code for flutter.so in this app simply
we create three TextField named as a name, email & mobile.
Step#7: Now we will create a function for sending data into MySQL:
Exercise:
Make the insert button and the functionality by code.
Tasks: