+
1 4 4

: !!!

  1. #1
    Nadea       Nadea
    02.07.2009
    )
    3
    ()
    0
    : 0 (: 0).

    Exclamation !!!

    ????
    <?php
    <form action="default.php" method="post">
    <input type="text" name="name" size="25">
    </form>
    ?>
    ???
    ??? ??
    )))!!!

  2. #2
    kisnik       kisnik
    23.09.2006
    22
    ()
    0
    : 0 (: 0).

    PHP :
    <?php
    // By: RJ Regalado
    // http://rjfiles.uni.cc/~php_examples/?id=1

    $name trim ((!empty($_POST['name'])) ? $_POST['name'] : $_GET['name'] );

    if ( 
    strlen ($name) < 1)
    ##
        
    echo "Please enter your name";
    } else 
    ##
        
    printf ("Hello <b>%s</b><br>"$name);
        
    printf ("Bonjour <b>%s</b><br>"$name);
        
    printf ("Hallo <b>%s</b><br>"$name);
        
    printf ("Ciao <b>%s</b><br>"$name);
        
    printf ("Hola <b>%s</b><br>"$name);
    }
    ?><hr>
    <form method="POST">
        Name: <input type="text" name="name">
        <input type="submit" value="POST">
    </form><hr>
    <form method="GET">
        Name: <input type="text" name="name">
        <input type="submit" value="GET">
    </form>
    http://ru.php.net/manual/en/reserved.variables.get.php
    http://www.php.su/articles/?cat=examples&page=033
    :
    http://forum.php.su/

  3. #3
    Kidman       Kidman
    20.12.2008
    3
    ()
    0
    : 0 (: 0).

    Nadea
    ????
    <?php
    <form action="default.php" method="post">
    <input type="text" name="name" size="25">
    </form>
    ?>
    ???
    html php. .. ECHO ""; <?php ?>

  4. #4

    AirKite       AirKite
    21.01.2008
    998
    ()
    0
    : 0 (: 0).

    if ( strlen ($name) < 1)
    if (strlen($name))
    echo print.

    IT & Creativity
    __________________


    | QuickBinder |