serge Posted June 10, 2015 Report Share Posted June 10, 2015 In this client template: client_services_serviceinfo.pdt I would like to get value for: - client_id - service_id all my try did not work, any idea? Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted June 10, 2015 Report Share Posted June 10, 2015 i the top of the pdt file n print the "services" var and chearch in it the var you need . print_r($services); serge 1 Quote Link to comment Share on other sites More sharing options...
Tyson Posted June 10, 2015 Report Share Posted June 10, 2015 for each service $i Service ID: $services[$i]->id Client ID: $services[$i]->client_id endfor serge 1 Quote Link to comment Share on other sites More sharing options...
serge Posted June 11, 2015 Author Report Share Posted June 11, 2015 Thank You, Naja7host and Tyson! Quote Link to comment Share on other sites More sharing options...
serge Posted June 11, 2015 Author Report Share Posted June 11, 2015 by the way, I was not in the good template for my goal, the good one was: client_services_manage.pdt and this code was working: <?php echo "Service ID:" . $service->id . "<br>" ; echo "Client ID:" . $service->client_id . "<br>" ; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.