NicheTech is a best web development company in Ahmedabad . We are helping MCA , BE Students in PHP Trainaing Ahmedabad . PHP is the best subject for live project training .
Nichetech is the best company which is providing PHP live project training in Ahmedabad.
MCA students should select PHP language for final sem project.
PHP Project Training is the best technology for MCA Students. PHP is the technology which gives you chance for getting job in IT industry .
Get the PHP Live Project Training in NicheTech.
1. Facebook:- http://facebook.com/liveprojecttrainingahmedabad
2. PHP Live Project Training Ahmedabad : http://www.mcaprojecttraining.com/
3. PHP Training Ahmedabad :- https://www.youtube.com/user/nichetechinstitute
2. • In previous power point presentation we have cover about
database and PHP…. Now in this presentation I will
explain to you how to insert the data with use of php page
into mysql database table…
• So for that I have created one .php page the page contain
4 textbox and 1 submit button, u can also use the
dropdown, radio button, checkbox, file uploder etc.
• We will discuss how to insert the data using this page but
before inserting the data, let’s just discuss how to retrieve
the data from database table and print it into the php
page.
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
3. • So many function in php… is in built so using that
function we will perform the operaion…
• we first of check that our localhost is working properly or
not so for that php have function name
mysql_connect(servername,username,password).
• After that we check that whatever database we are
interested to use is present in mysql or not so for that we
have another in built function named mysql_select_db() using
this function u can find out that the database is present or
not.
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
5. • particular database is present then it’s time to fire the
select query.
• Using the mysql_query() function we are able to execute
the select,insert,update query.
• PHP have another function mysql_fetch_array() using
this function we can retrieve one by one record from the
specify column.
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
6. • If our database is available and there is no syntax
problem then the browser will show you the output as
given below.
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
7. • Create one php page … as I have explain in slide 2 …
• Action is used to call another php page…
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
8. • Here I have write the php code which will perform the insert
operation.
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
10. • Now open MYSQL and check that data is inserted into
the database successfully or not.
•
Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)