app/ClientChannel.php
// function to add new client channel
function to add new client channel
function to add new client channel
public function addClientChannel($clientID, $channelID, $client_channel_name, $status) {
    	$date_created = date('Y-m-d H:i:s');
    	$result = DB::insert('INSERT INTO client_channels(clientID, channelID, client_channel_name, status, date_created) VALUES (?,?,?,?,?)', [$clientID, $channelID, $client_channel_name, $status, $date_created]);
    	return $result;
    }
public function addClientChannel ( $ clientID , $ channelID , $ client_channel_name , $ status ) { $ date_created = date ( 'Y-m-d H:i:s' ) ; $ result = DB :: insert ( 'INSERT INTO client_channels(clientID, channelID, client_channel_name, status, date_created) VALUES (?,?,?,?,?)' , [ $ clientID , $ channelID , $ client_channel_name , $ status , $ date_created ] ) ; return $ result ; }
function to add new client channel
function to add new client channel