For some reason when I use the short code [pricing_table] it will duplicate the pricing boxes as you can see on this page:
http://adivix.com/advertising-packages/
I am using this code:
http://pastebin.com/ZrppKHdF
Here is the PHP file for the shortcodes:
http://pastebin.com/SESq370B
Can someone please help on how to fix this issue?
The issue I see is that there is an array setup which is populated but then apparently it just simply repeats itself but I am not sure how to fix that.
What would be the PHP code to clear out the array after output?
I’m not 100% certain, but try adding
$price_table_array = array();
Before
return $output;
YEAH! it is fixed! thanks a lot!