Hi guys how r u doing ..
i made a form in my php file. It's for studying purposes not for actual website therefore i dont have database.
this is my form:
then the page contactengine.php contains the following:HTML Code:<div id="contact-area"> <form method="post" action="contactengine.php"> <label for="Name" id="Name">Naam:</label> <input type="text" name="Name" /> <label for="Email" id="Email">E-mail:</label> <input type="text" name="Email" /> <label for="Message"="Message">Bericht:</label><br /> <textarea name="Message" rows="20" cols="20"></textarea> <input type="submit" name="submit" value="Verzenden" class="submit-button" /> </form>
is there any code i could u .. that will check first if everything is filled BEFORE directing me to contactengine.php?Code:Dank u wel <?php echo $_POST["Name"]; ?>. We hebben uw formulier op <?php echo date(d) ?> <?php echo date(M) ?> ontvangen.<br /> Wij nemen zo spoedig mogelijk contact met u op.
i tried using if loop, but i dunno how to state in the else
to direct to contactengine.php
thanks in advance







Bookmarks