Help with php array

Status
Not open for further replies.

RossSchVle

Banned
Messages
98
Reaction score
0
Points
0
Hi all,
I have a whmcs site that uses smarty as a templating system, basically I need help with a php array.

In smarty you can get the array by using
$whmcscid = $this->get_template_vars('');

so in $whmcscid = $this->get_template_vars(''); I need to put $ClientDetails.UserId (another array).

I cannot work out how to do this as I am rubbish at php arrays - I have tried very hard to fix this, please help if you can.

Thanks,
Damian
 
Last edited:

RossSchVle

Banned
Messages
98
Reaction score
0
Points
0
I fixed it using a session variable - so i didn't need to do the php variable thing in the end.

Thanks anyway
 
Status
Not open for further replies.
Top