Ejemplo n.º 1
0
}
?>
 type="radio" name="role" value="both" /><br/>
					</td>
					</tr>-->
					<?php 
if ($_SESSION['role'] != 'associate') {
    ?>
					<tr>
						<td align="center" colspan="2">
						<input type="submit" value="update" />
						</td>
					</tr>
					<?php 
}
?>
				</form>
			</table>
		</div>
		<?php 
if ($_POST) {
    $id = $_POST['id'];
    $lawfirm = $_POST['lawfirm'];
    $client_email = $_POST['client_email'];
    $client_address = $_POST['client_address'];
    session_start();
    $obj->update_client($id, $lawfirm, $client_email, $client_address);
}
?>
	</body>
</html>