Results 1 to 4 of 4

Thread: What the hell!

  1. #1

    Thread Starter
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734

    What the hell!

    Ok I have a script that uses a isset to input data. Now I wanted to add a few more values into my mysql table. So I deleted the database, and loaded up the new one. Now it wont work. I did absolutely nothing to the script and suddenly its acting like the isset is broken. I have tried things like != NULL, and it still wont work Its boggling my mind.

    Any thoughts?

  2. #2

    Thread Starter
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    This is really strange. This :

    <?php

    if (isset($_REQUEST['submit'])){

    print ("$_REQUEST[test]");

    }
    else{

    ?>

    <form method="post" action="test2.php">
    <input type="text" name="test">
    <input type="submit" name="submit">
    </form>

    <?php

    }


    ?>

    wont even work


  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Have you tried given a value to submit?:

    Code:
    <input type="submit" name="submit" value=" Submit ">
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4

    Thread Starter
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    I just tried it on my linux parition, an it works. Something must have fooked up my setup. Arg.

Posting Permissions

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



Click Here to Expand Forum to Full Width