[php] isset or similar function

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by taekwondokid42, Feb 17, 2008.

  1. taekwondokid42

    taekwondokid42 New Member

    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    0
    I made a form:

    echo "<form action = \"users_create_account_process.php\" method = \"post\">";

    echo "<tr><td>";
    echo "E-Mail Account: ";
    echo "</td><td>";
    echo "<input type = \"text\" name = \"email\">";
    echo "<br>";

    echo "</td></tr><tr><td>";
    echo "Veirfy E-Mail: ";
    echo "</td><td>";
    echo "<input type = \"text\" name = \"verify_email\">";
    echo "<br>";

    /////////////////////////ECT//////////////////



    I use isset() to check if the forum was filled out, but the isset() returns true regardless of whether or not the form was filled out.


    Does anybody know why?
     
  2. kajasweb

    kajasweb New Member

    Messages:
    1,723
    Likes Received:
    0
    Trophy Points:
    0
  3. taekwondokid42

    taekwondokid42 New Member

    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    0
    Thank you.

    I had misinterpreted what the empty() function did. Everything is working now.


    edit: I tried to give you fame, but it says I need to give fame to someone else first. I guess this isn't the first time you've helped me. :)
     
    Last edited: Feb 17, 2008
  4. kajasweb

    kajasweb New Member

    Messages:
    1,723
    Likes Received:
    0
    Trophy Points:
    0

Share This Page