Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Code Correction

  1. #1
    Regular Coder
    Join Date
    Oct 2011
    Posts
    116
    Thanks
    19
    Thanked 1 Time in 1 Post

    Code Correction

    Dear Sir,

    Please see what is wrong with these codes

    Code:
    <html>
    <head>
    <title>PHP</title>
    </head>
    <body>
     <?php
    echo "Your name is:"." $_GET['text1'] </br>;
    echo "Your city is:"."  $_GET['text2'];</br>
    echo Your mobile is:"." $_GET['text3'];
    ?>
    </body>
    </html>

  • #2
    New Coder
    Join Date
    Jul 2009
    Location
    UK
    Posts
    89
    Thanks
    5
    Thanked 11 Times in 11 Posts
    try this
    PHP Code:
    echo "Your name is:".$_GET['text1']."</br>";
    echo 
    "Your city is:".$_GET['text2']."</br>";
    echo 
    "Your mobile is:".$_GET['text3']; 
    String Operators
    I'd love to change the world, but they wont give me the source code.

  • Users who have thanked jswany for this post:

    tqmd1 (11-01-2013)


  •  

    Posting Permissions

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