/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $js_back = 'javascript:history.go(-1)'; { if ($_POST['captcha'] != 'hello') foreach ($inputs as $key => $value) { } // Code... } ?> <table> <tbody> <tr> <td><label for="cname">Firstname, surname:</label></td> <td><input type="text" name="cname" id="cname" size="40" /></td> </tr> <tr> <td><label for="cemail">E-mail:</label></td> <td><input type="text" name="cemail" id="cemail" size="40" /></td> </tr> <tr> <td><label for="msg">Message:</label></td> <td><textarea name="msg" rows="8" cols="38" id="msg"></textarea></td> </tr> <tr> <td>Antispam:</td> <td><input type="text" name="captcha" /> write in "hello"</td> </tr> <tr> <td> </td> <td><input type="submit" name="send" value="Send" /></td> </tr> </tbody> </table> </form>