Ok, so far I've had a good look at http://www.phpbuilder.com/columns/robert20000928.php3, but for some reason the code he is giving example of does not work :(
So far I have;
$gold_dis = $gold_dis_{$categoryis};
The idea being that $gold_* is changed to $gold_Local, or $gold_Regional, depending on what the category has set in it.
From what I can tell, the above should print the value of $gold_Regional when I have the $categoryis set to 'Regional' . Anyone got any ideas on why its not working?
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
So far I have;
Code:
$gold = $gold_{$categoryis}; $gold_dis = $gold_dis_{$categoryis};
The idea being that $gold_* is changed to $gold_Local, or $gold_Regional, depending on what the category has set in it.
From what I can tell, the above should print the value of $gold_Regional when I have the $categoryis set to 'Regional' . Anyone got any ideas on why its not working?
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!