Quote:
Originally Posted by mangoboom
Hi
i wanted to add a list of my categories in a x cart page (.tpl file), i wanted to pull the categories out of the xcart_categories table, i tried using a PHP/MySQL connect, but that did not work, does anyone if x cart has it's own "special" code to connect to the database or some code to query the database?
thanks
|
The categories array should be available to you throughout the cart - just loop through that instead of trying to add yet one more array to what is in memory.