delete_clients( $_POST[ 'client_cb' ] ); } if( isset( $_POST[ 'submit_client' ] ) ) { $errors = $this->validate_client( $_POST ); if( empty( $errors ) ) { if( isset( $_POST[ 'client_id' ] ) ) { // Edit existing $results = $this->edit_client( $_POST[ 'client_id' ], $_POST[ 'client_name' ], $_POST[ 'client_email' ], $_POST[ 'client_site' ], $_POST[ 'client_description' ] ); if( $results === FALSE ) { ?>

There were unexpected errors during the update. Your changes may not have been saved.

Your client "" has been updated.

add_client( $_POST[ 'client_name' ], $_POST[ 'client_email' ], $_POST[ 'client_site' ], $_POST[ 'client_description' ] ); if( $results === FALSE ) { ?>

There were unexpected errors during the add. Your changes may not have been saved.

Your client "" has been added.

is_editing_client(); if( $current !== FALSE ) { ?>

Edit Client

Manage Clients (add new)



client_rows(); ?>
Name Email Site Description


Add Client




Ensure that you use the full address (i.e. http://example.com). Don't leave off the http://

Enter a longer description for this client, such as the type of work that they usually get done.