Php Tutorial _ Php Tutor... Tutorial for Begin3ners

  • Upload
    porur

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

  • 7/28/2019 Php Tutorial _ Php Tutor... Tutorial for Begin3ners

    1/2

    Call now:- +91-9911-09-7721 Search100% Job assistance

    HOME COURSES ADVERTISEMENT POST IT JOB CONTACT US

    PHP Tutorial

    PHP Tutorial

    PHP Example

    Javascript Tutorial

    Javascript Example

    JQuery TutorialJQuery Example

    Ajax Tutorial

    Ajax Example

    PHP Basic Concep ts

    PHP Introduction

    Variable in php

    if / switch statement

    Form Tag

    Loop

    Array

    Function

    PHP & MySQL

    Database

    Insert Query

    Select Query

    Delete Query

    Update Query

    PHP Adv anced

    Session

    Cookies

    Upload/Download

    File/Directory

    GD Library

    Send mail

    PHP and XML$_SERVER

    PHP OOPS

    Class & Ob ject

    Constructor & Destructor

    Inheritance

    Polymorphism

    Abstract Class and Interface

    PHP oops and Mysql

    PHP Referen ce

    PHP String Function

    PHP Array Function

    PHP Mysql function

    PHP Date function

    When we create input box. check box, radio button etc. So this necessary to send thesecontrol value to the server. So Form tag is use to send these control value to the server.

    code:-

    your input box, check box etc here .

    name :- name of the formaction :- write page name on which page you w ant to send values. ifyou take action blanklike action="" then values send on same page.method :- there are tw o method post and get.post send value to the server but values not show on URL.get send value to the server but values show on URL.

    test1Enter Name

    save this php s cript by name oftest1.php.

    In this code w e use action="test1.php" then these control value send to test1.php page Wereterive these value on test1.php page and can print it. Now make another page test1.phpfor reterive these values

    For reterive value ofForm tag use super global variable$_POST['controlname'] when method is post on form tag.$_GET['controlname'] when method is get on form tag.

    test1

    Form TagAbout HTML Form Tag

    Exam ple 1:- Simple Form Tag Example

    How to reter ive value of Form tag.

    Example 1:- PHP script to reterive form tag value. please save this file test1.php.

    AT-M Ad

  • 7/28/2019 Php Tutorial _ Php Tutor... Tutorial for Begin3ners

    2/2

    PHP Variable function

    PHP Math function

    My SQL

    PHP Misc function

    Select query

    Other Links

    Increase P age Rank

    The Link Exchange

    link directory

    Interview Q/A

    PHP DevelopmentIndiaBacklinks

    dallas pr agencies

    Seo service Chennai

    test1.php

    test1

    Enter Gender

    test2.php

    test2

    isset function is very usefull when you send value to the server and reterive value.Now Look functiong of isset functionisset function is use to check variable exists or not. This return true if variable existsotherwise this return false. This is a language construct and not a function.

    Now Why we use isset function and benefit ofisset function.When we send value of the server we check $_POST['controlname'] in isset function. whenwe click on submit button then this variable exits on page and w rite code inside this section.if variable exits our code run otherw ise code not run. if we are not use isse t function thencode is run without submit the page.

    Untitled Document

    when you click on Submit Then isset will do work.This show Text Box data withoutsubmit page echo will not pring $_post['city'] data.

    Previous Next

    Exam ple 2:- To use of get me thod

    isset()

    Example 3:- PHP script to use of isset function.

    Design & Developed by ittrainingonline Home Courses Advert isem ent Post IT Job Contacts Links

    AT-M Ad