Jump to content

Changing Currency On Site


graham23s

Recommended Posts

Almost the same way you would for a different language. Have little images of the various currencies symbols that are clickable. Once clicked the symbols value goes into a session var. The currency after you get it from the DB is run through a converter. If the session var is not set the currency just passes through else its hit with whatever formula needed to convert it.

 

For the display of the symbol check the session var and include a DEFINE so all you need is <img src=\"<?=DEFINE?>\">

 

Fairly simple and straight forward.

 

 

HTH

Teamatomic

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.