return true; } </script> <?php include "header.php"; include "class.customer.dao.php"; ?> <center> <h3>Add Customer</h3> <form name = "frmCustomer" method="POST" action="save.customer.php" onsubmit = "return validateCustomer();"> <table cellspacing="5" cellpadding="5"> <?php if (isset($_GET["id"])) { $dao = new DAOcustomer(); $vo = $dao->get($_GET["id"]); ?> <tr> <td> Customer Name </td> <td><input type = "text" name = "name" value= "<?php echo $vo->name; ?> "/></td> </tr> <tr> <td> Firm Name </td> <td><input type = "text" name = "firm_name" value= "<?php echo $vo->firm_name; ?> "/></td> </tr>