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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2010
    Posts
    153
    Thanks
    53
    Thanked 0 Times in 0 Posts

    Getting not working

    I am trying to use this code:

    PHP Code:
    if($_Get[done] == 1)
    {
    echo 
    "test successful";

    So when I go to mywebsite.com/page.php?done=1
    I'm not getting "test successful"

    Anyone know why?

    Thanks.
    Last edited by wincode; 03-27-2010 at 07:38 PM.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,951
    Thanks
    9
    Thanked 724 Times in 718 Posts
    Try:

    PHP Code:
    <?php if($_GET['done'] == 1)
    {
    echo 
    "test successful";
    }
    ?>

  • #3
    Regular Coder
    Join Date
    Jan 2010
    Posts
    153
    Thanks
    53
    Thanked 0 Times in 0 Posts
    Thank you for your reply (:

    IT WORKED, (:


  •  

    Posting Permissions

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