Permalink
Browse files

removed old test file

  • Loading branch information...
1 parent 93768e2 commit 6ac8526873abecbebf60fa7c674a4d1900aa1eed @Frimkron committed Nov 1, 2009
Showing with 0 additions and 41 deletions.
  1. +0 −41 forms_test.php
View
41 forms_test.php
@@ -1,41 +0,0 @@
-<?php
-
-require_once dirname(__FILE__)."/forms/input_form.class.php";
-require_once dirname(__FILE__)."/forms/string_field.class.php";
-
-$form = new input_form("myform","post","?");
-$form->add_field(new string_field("name","","Name",true,"Enter your name",30));
-
-if(isset($_POST["submit"]))
-{
- $form->validate();
- if($form->is_valid())
- {
-
- }
- else
- {
- print_form();
- }
-}
-else
-{
- print_form();
-}
-
-function print_form()
-{
- ?>
-<html>
- <body>
- <form>
- <table>
-
- </table>
- </form>
- </body>
-</html>
- <?php
-}
-
-?>

0 comments on commit 6ac8526

Please sign in to comment.