Jump to content

Please can someone help regarding actionhooks


HostworX

Recommended Posts

I am asking for some help to help out this poor tired soul. I am struggling to get the actionhooks to give me the info I need, I am used to asp and asp.net, but php has got me confuzed.

 

The $vars["products"], $vars["addons"] and $vars["domains"] are apparently arrays which will return the id of the product, addon or domain, where I can do a lookup for what the specific id relates to, but if I add the info into an email the variables are not numerical it is returning "array". I therefore presume I need to run a loop or something to return the id variable from the array.

 

Can someone show me a basic working code how the info is retrieved, as its late and totally schmokkeled now :shock: and getting nowhere.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated