Results 1 to 10 of 40

Thread: Day 7 - Talk To Server - Become PHP Expert in 30 days

Hybrid View

admin Day 7 - Talk To Server -... 05-15-2014, 09:20 PM
Vahaa11 News subscription... 05-16-2014, 06:21 AM
annie http://php.flashwebhost.com/an... 05-16-2014, 07:11 AM
admin Day 7 Example 2 contains 2... 05-16-2014, 07:28 AM
sherlyk http://php.flashwebhost.com/sh... 05-16-2014, 07:34 AM
Vahaa11 http://php.flashwebhost.com/si... 05-16-2014, 07:33 AM
Austinwhite http://php.flashwebhost.com/au... 05-19-2014, 08:43 AM
Austinwhite This one working.... i copy... 05-19-2014, 08:55 AM
melbin There is s a spelling mistake... 05-19-2014, 09:16 AM
sherlyk Why? .....is not working ... 05-19-2014, 10:06 AM
admin We are checking is a... 05-19-2014, 10:18 AM
sherlyk http://php.flashwebhost.com/sh... 05-19-2014, 05:12 PM
image DAY 7 PHP PROGRAMMING ... 05-22-2014, 06:56 AM
admin Good, working properly. 05-22-2014, 07:06 AM
image DAY 7 PHP PROGRAMMING ... 05-22-2014, 11:47 AM
admin Good. Enter Your... 05-22-2014, 12:15 PM
Austinwhite Ohh... i thought name too is... 05-19-2014, 10:14 AM
Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Posts
    26,214

    Default

    DAY 7 PHP PROGRAMMING

    http://php.flashwebhost.com/tom/day_7_ex_2.html

    Code:
    <html>
    <body>
    
    
    <h1>Welcome to Online Booking Center</h1>
    
    
    <p>Please enter you name below and click that button to see Online Booking Center.</p>
    
    
    <form method="GET" action="day_7_ex_2.php">
    
    
    Enter Your Name: <input name= "full_name" type="text">
    
    
    <button type="Submit">Enter Your Name</button>
    
    
    </form>
    
    
    </body>
    </html>
    http://php.flashwebhost.com/tom/day_7_ex_2.php

    Code:
    <?php
    
    
    echo '<h1>Hello '. $_GET['full_name'] . ' ! Welcome to Online Booking Center </h1>';

  2. #2
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Quote Originally Posted by image View Post
    DAY 7 PHP PROGRAMMING

    http://php.flashwebhost.com/tom/day_7_ex_2.html

    Code:
    <html>
    <body>
    
    
    <h1>Welcome to Online Booking Center</h1>
    
    
    <p>Please enter you name below and click that button to see Online Booking Center.</p>
    
    
    <form method="GET" action="day_7_ex_2.php">
    
    
    Enter Your Name: <input name= "full_name" type="text">
    
    
    <button type="Submit">Enter Your Name</button>
    
    
    </form>
    
    
    </body>
    </html>
    http://php.flashwebhost.com/tom/day_7_ex_2.php

    Code:
    <?php
    
    
    echo '<h1>Hello '. $_GET['full_name'] . ' ! Welcome to Online Booking Center </h1>';

    Good, working properly.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  3. #3
    Join Date
    Feb 2007
    Posts
    26,214

    Default

    DAY 7 PHP PROGRAMMING

    http://php.flashwebhost.com/tom/day_7_ex_3.php

    Code:
    <?php
    
    
    if (isset($_GET ['email'])) {
    
    
    echo '<h1>Hello ' . $_GET['email'] . '! Welcome to Webmail</h1>' ;
    
    
    echo '<pre>';
    
    
    print_r($_GET);
    
    
    echo '</pre>';
    
    
    } else {
    
    
    echo'
    
    
    <html>
    
    
    <body>
    
    
    <h1>Welcome to Webmail</h1>
    
    
    <p>Please enter your email id and password below</p>
    
    
    <form method="GET" action = "day_7_ex_3.php">
    
    
    Enter Your Email: <input name = "email" type="text"><br>
    
    
    Enter Your Password: <input name = "password" type="text">
    
    
    <button type="Submit">Enter</button>
    
    
    </form>
    
    
    </body>
    </html>';
    
    
    }

  4. #4
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Quote Originally Posted by image View Post
    DAY 7 PHP PROGRAMMING

    http://php.flashwebhost.com/tom/day_7_ex_3.php

    Code:
    <?php
    
    
    if (isset($_GET ['email'])) {
    
    
    echo '<h1>Hello ' . $_GET['email'] . '! Welcome to Webmail</h1>' ;
    
    
    echo '<pre>';
    
    
    print_r($_GET);
    
    
    echo '</pre>';
    
    
    } else {
    
    
    echo'
    
    
    <html>
    
    
    <body>
    
    
    <h1>Welcome to Webmail</h1>
    
    
    <p>Please enter your email id and password below</p>
    
    
    <form method="GET" action = "day_7_ex_3.php">
    
    
    Enter Your Email: <input name = "email" type="text"><br>
    
    
    Enter Your Password: <input name = "password" type="text">
    
    
    <button type="Submit">Enter</button>
    
    
    </form>
    
    
    </body>
    </html>';
    
    
    }


    Good.

    Code:
    Enter Your Password: <input name = "password" type="text">
    No space needed before and after =

    Code:
    Enter Your Password: <input name="password" type="text">
    This will be better. If you change type="text" to type="password", it will show * when you type a character.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •