This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// The function defines a new hook (and hook name) for WHMCS | |
function hook_client_ref($vars) { | |
//Pull data from Database, these are the three variables we require. | |
$id = $vars['userid']; | |
$companyname = $vars['companyname']; | |
$surname = $vars['lastname']; | |