WolFree Posted February 11, 2009 Share Posted February 11, 2009 Hi guys, I know, it is a stupid question, but it's late, I'm tired of some coding experiences and just have one question: How do I get the clientdetails in a module? I tried: $clientdetails->fields["firstname"], $clientdetails["firstname"], both doesn't work. But it is an array, isn't it? And yes, I took $clientdetails out of $params["clientdetails"]. Please help me, I want to finish my work ^^ Wolfgang F. 0 Quote Link to comment Share on other sites More sharing options...
vmukdaniel Posted February 11, 2009 Share Posted February 11, 2009 We used: $clientsdetails = $params["clientsdetails"]; # Array of clients details - firstname, lastname, email, country, etc... For First Name use: $clientsdetailsfirstname = $params["clientsdetails"]["firstname"]; then call $clientsdetailsfirstname in your code. Hopefuly that helps, 0 Quote Link to comment Share on other sites More sharing options...
WolFree Posted February 11, 2009 Author Share Posted February 11, 2009 $cd_firstname = $params["clientdetails"]["firstname"]; <- Doesn't work 0 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.