E
By: H | Date: Oct 6 2008 13:50 | Format: PHP | Expires: never | Size: 1.9 KB | Hits: 1038
- <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- $insert = "INSERT INTO bloem_actie (product, v_naam, v_adres, v_postcode, v_plaats, v_email)
- values ('". $_POST["product"] ."', '". $_POST["v_naam"] ."', '". $_POST["v_adres"] ."', '". $_POST["v_postcode"] ."', '". $_POST["v_plaats"] ."', '". $_POST["v_email"] ."')";
- echo "<h3>Uw deelname is genoteerd.</h3>";
- }
- else {
- echo "<form action="actie.php" method="post">";
- { $aid .= "<option value="".$info['ID']."">$info['ID']."</option>"; }
- echo "<label for="Product" id="Product">Product*</label>
- <select name="product">
- $aid
- </select>";
- echo "<br /><br />";
- echo "<label for="Voornaam" id="Voornaam">V/A Naam*</label>";
- echo "<input type="text" name="v_naam" size="49"/>";
- echo "<br />";
- echo "<label for="Adres" id="Adres">Adres + nr.*</label>";
- echo "<input type="text" name="v_adres" size="49"/>";
- echo "<br />";
- echo "<label for="Postcode" id="Postcode">Postcode*</label>";
- echo "<input type="text" name="v_postcode" size="49"/>";
- echo "<br />";
- echo "<label for="Plaats" id="Plaats">Woonplaats*</label>";
- echo "<input type="text" name="v_plaats" size="49"/>";
- echo "<br />";
- echo "<label for="Email" id="Email">Email*</label>";
- echo "<input type="text" name="v_email" size="49"/><br>";
- echo "<center><input type="submit" name="submit" value="" class="submit-button" /></center>";
- echo "</form>";
- }
- ?>
Latest pastes
2 hours ago
1 days ago
1 days ago
2 days ago
2 days ago