You are here:  » Repeating pricesExternal

Support Forum



Repeating pricesExternal

Submitted by shabbysheep on Thu, 2009-02-26 10:01 in

Hi David,

I have a number of pricesExternal scripts in a row on my web pages which display perfectly when there is an entry in the database for each one. But if there is not, the existing ones repeat themselves. Is there any way to stop this happening?

Many thanks

shabbysheep

Submitted by support on Thu, 2009-02-26 11:48

Hi,

Sure - in pricesExternal.php, add this line right at the top (after the opening PHP tag):

  unset($prices);

That should fix it!

Cheers,
David.

Submitted by shabbysheep on Thu, 2009-02-26 14:11

Magic! Thanks David.