isadmin()) die('Access Denied'); if(!$_GET['id']&&!$_POST) { $title = "New Client:"; $action = "create"; $create = true; } else if($_POST['a']) $rep = $_POST; else { $title = "Update Client:"; $action = "update"; if($_GET['id']) $client_id = $_GET['id']; $query = sprintf("SELECT * FROM ".CLIENT_TABLE." WHERE '$client_id' LIKE client_id"); $results= mysql_query($query); $rep = mysql_fetch_assoc($results); } ?>
Client Account
Client Information
Name (First,Last):  *      
Email Address:  
Office Phone:  Ext    
Mobile Phone:
Office:  
Is Active Client: >  Yes > No