www.webdeveloper.com

Search:

Type: Posts; User: Townsheriff

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    948

    0 is a value can be fixed: if (!empty($firstname)...

    0 is a value can be fixed: if (!empty($firstname) || $firstname == 0)
  2. Replies
    7
    Views
    948

    Thanks you guys for helping. Got what I wanted....

    Thanks you guys for helping. Got what I wanted.
    Final Result :)

    <?php

    $fields = array(
    'firstname',
    'lastname',
    'email',
    'password',
  3. Replies
    7
    Views
    948

    I changed to $_POST, but still it doesnt work. ...

    I changed to $_POST, but still it doesnt work.
    if (isset($firstname))
    echo 'First name is: ' . $firstname;
    It shows anyway if its empty or if it has a value.
  4. Replies
    7
    Views
    948

    isset doesnt work.

    Im trying to make form and I want if the field is empty it doesnt show it at all, but it shows anyway.

    <form action="form.php" method="get">
    <fieldset style="width: 250px;">
    <legend>Register...
Results 1 to 4 of 4
HTML5 Development Center



Recent Articles