HostworX Posted April 9, 2009 Share Posted April 9, 2009 anyone that can possibly help me with an issue im having with actionhooks ? There are the $vars("Product"),$vars("Domains"), etc which are arrays, I know asp and asp.net, but from a php point im a bit clueless when it comes to certain things. I need some code to loop through these arrays and get me the id numbers so I can query the db and get the product information, if I use these it just returns "array". I am trying to generate an email after a client places a purchase order for a product, which is sent to the accts dept notyfying them of the order basically. 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - Use something similar to this to get some display: echo '<pre>'; print_r($vars); echo '</pre>'; ...and read up on your PHP! Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
HostworX Posted April 13, 2009 Author Share Posted April 13, 2009 Thanks, appreciated and I have started looking at the PHP in a serious way as I have been snookered into developing our systems together with whmcs 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 13, 2009 Share Posted April 13, 2009 Hi - Yeah, great feeling, right? Not. Thanks -dant 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.