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.
There were unexpected errors during the add. Your changes may not have been saved.
Your client "" has been added.