Current location: Hot Scripts Forums » Programming Languages » PHP » exchange currency


exchange currency

Reply
  #1 (permalink)  
Old 09-23-09, 09:36 AM
soesanmg soesanmg is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
exchange currency

Please help me . I want to add exchange currency in my website. How to do it i don't know.
Please Help me . Please .. Please..
for example.
- Electronics Great Shop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-23-09, 12:37 PM
ruteckycs's Avatar
ruteckycs ruteckycs is offline
Coding Addict
 
Join Date: Jul 2009
Posts: 377
Thanks: 6
Thanked 10 Times in 10 Posts
Try googleing for currency converter widget.

Widgetbox › Currency Converter Widget
__________________
This post was created with 100% recycled electrons.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 09-23-09, 12:55 PM
soesanmg soesanmg is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
i want to be a as - Electronics Great Shop
Please .. when click GBP and US dollor, change current money.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 09-23-09, 03:30 PM
ruteckycs's Avatar
ruteckycs ruteckycs is offline
Coding Addict
 
Join Date: Jul 2009
Posts: 377
Thanks: 6
Thanked 10 Times in 10 Posts
Ahh I see, it is likely that that functionality was in the original design of the site. If I were writing the site I would have all the prices in a DB and then as I read them check it against the current currency selected and them modify as necessary based on stored values.

Does your site save prices in a DB? Is it generated dynamically? I doubt there is a stock script that will do this for you. Your going to have to write something custom.
__________________
This post was created with 100% recycled electrons.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 09-23-09, 04:17 PM
soesanmg soesanmg is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
yes.i save prices in a DB.it is generated dynamically.Please look at as following link.
download | ifile.it
i don't know that how wirte code for it. Please explain me. Please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 09-23-09, 04:22 PM
soesanmg soesanmg is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
i want to use 3 type. US dollar , Ruble and Kyats.
1 dollar = 30 ruble
1 ruble = 50 kyats
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 09-23-09, 07:07 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 09-23-09, 07:30 PM
soesanmg soesanmg is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Dear friend wirehopper !
please help me. i want to add exchange money in my shopping cart.
i want to be a as - - Electronics Great Shop
Please .. when click GBP and US dollor, change current money.

I use PHP version are
Server Configuration
Apache version : Apache/1.3.33 (Win32)
PHP version : 5.0.4
MySQL version : 4.1.10a-nt - extension : mysqli

Tools

phpinfo( )
PHPmyadmin 2.6.1-pl3
SQLitemanager 1.0.4

Examples of PHP5's new features

SimpleXML (fichier XML)
Object programming
SQLite
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 09-24-09, 12:25 AM
ruteckycs's Avatar
ruteckycs ruteckycs is offline
Coding Addict
 
Join Date: Jul 2009
Posts: 377
Thanks: 6
Thanked 10 Times in 10 Posts
When the price data is read from the database then you need only apply the modifier. I would save the modifiers in a flat file though so you can easily update them later.

This is a fairly simple job though I can not give you exact code because I do not know the variables used in your current script.

You will have to make a form that accepts the currency input,
then set a variable based on the selection
then retrieve the modifier
then apply it to the price.
__________________
This post was created with 100% recycled electrons.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 09-24-09, 07:54 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
If you would like some one to write the code for you, you should look at Script Requests or Job Offers & Assistance. Read the notes prior to posting, so you can get help faster.

Good luck.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Link Exchange w/ Google Page Ranks ajs5mz2 Traffic Exchange 6 05-26-07 02:53 AM
Link Exchange Management linkmore General Advertisements 0 11-23-05 09:38 AM
Free Link Exchange Program JC3 General Advertisements 0 09-30-05 01:02 PM
Link Exchange JC3 General Advertisements 0 09-22-05 05:29 PM
Traffic exchange script hbourchi Traffic Exchange 0 06-22-04 01:26 PM


All times are GMT -5. The time now is 09:55 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.