ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Pass variable from Head to Body

erict 23 Jun, 2009
So while working on a more complex select I had gotten everything into place in my Chrono connection when I got slapped with:
Warning: in_array() [function.in-array]: Wrong datatype for second argument

What I'm doing is assembling an array in the Head and then trying to access it in the Body area. After some testing I came to find that the variable was getting cleared no matter what I did, even after making the variable global (ex: "global myVar;")

So my question is: How do I pass a PHP array $variable from the Head section to the Body?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com