• Save
Basic insertion operation in php , PHP Training Ahmedabad
Upcoming SlideShare
Loading in...5
×
 

Basic insertion operation in php , PHP Training Ahmedabad

on

  • 1,085 views

NicheTech is a best web developmet company in Ahmedabad . We are helping MCA , BE Students in PHP Trainaing Ahmedabad . PHP is the best subject for live project training . ...

NicheTech is a best web developmet 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 live project training in Ahmedabad.

Statistics

Views

Total Views
1,085
Views on SlideShare
1,072
Embed Views
13

Actions

Likes
1
Downloads
0
Comments
1

2 Embeds 13

http://www.liveprojecttrainingphp.com 12
http://900613416259805766_0a22dca1e38e1bd0f488392ef5959e00a3d861e6.blogspot.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • IT Pathshala, Noida-Sector-63, offers Guaranteed JOB with PHP Training Programs.

    PAY US ONLY IF YOU GET A JOB!

    CALL US - +91-9871350999 or +91-8800394970

    Technology Centre Address: H-110, Sector-63, Noida (UP)

    Program Takeaways:

    - GUARANTEED JOB in your technology domain
    - Live Major Project development
    - Experience Letter on Training Completion
    - Certification on Training Completion
    - Project Source Code available in CD

    Program Highlights:

    - 100% Guaranteed Job – Don’t pay us if you don’t get a JOB!
    - Industry Ready Courses
    - LIVE International Project Experience
    - Exposure to corporate culture at our IT services facility
    - Networking & Interaction with Industry Experts
    - Training Provided by a reputed IT Company
    - Live Project Source Code made available in CD
    - Technology certification and experience letter at program completion
    - Online Study Content

    CALL US - +91-9871350999 or +91-8800394970

    Our website: www.itpathshala.com
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Basic insertion operation in php , PHP Training Ahmedabad Basic insertion operation in php , PHP Training Ahmedabad Presentation Transcript

  • Prepared By, Hashida Parmarhttp://www.nichetechinstitute.com/
  • • 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/)
  • • 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/)
  • • Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
  • • 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/)
  • • 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/)
  • • 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/)
  • • 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/)
  • • Prepared By, Harshida Parmar NicheTech Com.Sol.Pvt.Ltd (http://www.nichetechinstitute.com/)
  • • 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/)