| 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 <title>Code Generator</title>
 </head>
 <body>
 <p align="center"><strong>OO Mysql Wrapper PHP Coder Generator</strong></p>
 <script src="validate.js" type="text/javascript"></script>
 <form id="form1" name="form1" method="post" action="step3.php">
 <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
 <td><strong>Step 2 </strong></td>
 <td> </td>
 </tr>
 <?
 $post = $_POST;
 
 if($post['type'] == "Select"){
 echo "<tr>";
 echo "<td>Enter Select Column Names or * for all.</td>";
 echo "<td><input type='text' name='Select' value='*' required='yes' validate='text' message='Enter Select Column Names or * for all.'></td>";
 echo "</tr>";
 }
 else if($post['type'] != "Delete Row"){
 echo "<tr>";
 echo "<td>Number of Fields?</td>";
 echo "<td><input type='text' name='Fields' value='1' size='10' required='yes' validate='int' message='Enter Number of Fields Needed'></td>";
 echo "</tr>";
 }
 
 ?>
 <input type='hidden' name='type' value='<?=$post['type'];?>'>
 <tr>
 <td>Table Name?</td>
 <td><input type='text' name='Table' required='yes' validate='text' message='Enter Table Name'></td>
 </tr>
 <tr>
 <td> </td>
 <td><input type="submit" value="Next" onClick="validate(this.form); return document.formSubmit;" /></td>
 </tr>
 </table>
 </form>
 <p> </p>
 </body>
 
 </html>
 
 |