HTML-szerkesztés kezdőknek!!!
  • CattiBrie
    #4748
    sendmail.php tartlama


    if (isset ($_POST['your_name']) && isset($_POST['email_address']) && isset($_POST['comment']))
    {
    $their_name = $_POST['your_name'];
    $their_email = $_POST['email_address'];
    $their_comment = $_POST['comment'];
    mail ('[email protected]', 'Üzenet a Weblapról', "Név: $their_name Email: $their_email Hozzászólás: $their_comment" . date('d/m/Y H:i:s'), "FROM: $their_emailr Reply-To: $their_email"); }
    else
    {
    echo ('Valamelyik mezőt üresen hagytad');
    }




    helyett




    <?php

    if (isset ($_POST['your_name']) && isset($_POST['email_address']) && isset($_POST['comment']))
    {
    $their_name = $_POST['your_name'];
    $their_email = $_POST['email_address'];
    $their_comment = $_POST['comment'];
    mail ('[email protected]', 'Üzenet a Weblapról', "Név: $their_name Email: $their_email Hozzászólás: $their_comment" . date('d/m/Y H:i:s'), "FROM: $their_emailr Reply-To: $their_email"); }
    else
    {
    echo ('Valamelyik mezőt üresen hagytad');
    }

    ?>




    ?