Creating a rate calculator [was: how do i create this?]

I want to create a rate calculator on a website with 2 input fields: calling from and calling to.  Here is what i've got:
CALLING FROM table:
COUNTRY     $/MIN
Africa            0.10
Europe          0.20
Asia              0.30
CALLING TO table:
COUNTRY     $/MIN
Africa           0.20
Europe         0.30
Asia             0.50
USA             0.10
Basically to get the rate $/min the CALLING FROM selected country and the CALLING TO selected country will be added together i.e calling from africa to USA would be $0.20/min (0.10 + 0.10).
- How do i create the database for this? (in access)
- How do i then create the rate calculator in a webpage? (asp/php)???
I would really appreciate anyone who will be able to help me in this.
Thank you very much.
Natalie
[Subject line edited by moderator to indicate nature of question]

Create a database table with 3 columns
Country
ToRate
FromRate
Populate these values as appropriate.
Create two drop down menus on your page; FromRate and ToRate.  Populate these with the values (Display value and rate) from the table.
Then, you could either:
1) Submit the form to a server side script that adds and displays the values
2) Use Javascript to add and display the values

Similar Messages

  • When I transferred my iPhoto from macbook to iMac it created double events for each, how do I correct this?

    When I transferred my iPhoto from macbook to iMac it created double events for each, how do I correct this?

    How did you do it?
    Here's what should work:
    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then launch iPhoto. That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.

  • I need to create a ghost image of my G4 iBook (OSX 10.3.9) and replace the OS9 on my G4 tower with the created iBook ghost image. How do you do this?

    I need to create a ghost image of my G4 iBook (OSX 10.3.9) and replace OS9 on a G4 tower with the Ghost image. How do you do this? Will my applications still work?
    The iBook is running Pather, i have tons of programs i use on it, project files, etc... and my G4 Mac tower is more powerful, faster, and more reliable than the iBook. I basiclly just want to take the entire OS, programs and files... create an image, and drop the image on the G4 Tower so it basically will function just like the iBook. Like a mirror image of everything that is on the iBook.  I know that you can create image files in the Disk Utility on Panther, but will that back up the entire OS with settings, programs, files and all?  ive never done anything like this before, so i wanted to post this up to see if i would get an answer. In the meantime, im reading "Mac OS X, Help Desk Essentials By Owen Linzmayer" to see if i can find the steps to do this.
    Any help would be greatly apprciated. Much thanks!

    Can't be done as an exact copy from one Mac to the other.  The operating systems are system specific. First make sure your system doesn't need a firmware update to get 10.2 or later on it. You'll need to install 9 on it if it does, direct from a 9 retail CD that is compatible with it *.  This disc can't say Upgrade, Dropin, or OEM. To determine compatibility, identify your G4 tower:
    http://support.apple.com/kb/HT3082
    http://docs.info.apple.com/article.html?artnum=42739
    Then look at the OS 9 compatibility:
    http://docs.info.apple.com/article.html?artnum=25517
    Then apply the correct update
    http://docs.info.apple.com/article.html?artnum=86117
    The last Mac OS 9 to come retail is 9.2.1, and that's newer than 9.0.4, 9.0.2, and 9.1.
    Your ghost image can be done using cloning software, but then you'll have to use a retail 10.3 installer and 10.3.9 combo update on the G4 tower.  Then use the Migration Assistant to import the data from the clone of the iBook. The 10.3 retail disc looks like * and does not say upgrade, dropin, or OEM.  The 10.3.9 combo update is here:
    http://www.apple.com/support/downloads/macosxcombinedupdate1039.html
    The clone to an external hard drive can be done with these instructions*:
    http://www.macmaps.com/backup.html The import of the external hard drive with the migration assistant can be done with these instructions:
    http://docs.info.apple.com/article.html?artnum=25773

  • How do I create a keyboard short cut, how do I create a keyboard short cut

    How do I create a keyboard short cut. I use excel and want to add the + on the numerical keyboard as an instruction to add all highlighted boxes and drop the answer into the next available box either horizontally or vertically.

    Hi William !
    Would you settle for a Hot Corner ?
    Go to System Preferences>>Desktop/Screensavers and tweek your Hot Corners.

  • My password keeps disappearing from the settings menu on my iPhone 4s this creates a ton of problems how do I correct this

    My password keeps disappearing from the settings menu on my iPhone 4s how do I stop this from happening

    http://support.apple.com/kb/HT4527?viewlocale=en_US&locale=en_US

  • How do I create a similar website (Was: how to make)

    i need link for tutorial or little help i try make it site somthing like this { link removed by moderator } but i dont know how to start any ideas ?

    If you're new to Web Design, start learning HTML, CSS and Web Design Theory.
    Basic HTML, CSS & Web Design Theory Tutorials -
    http://www.html.net/
    http://w3schools.com/
    http://www.csstutorial.net/
    http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements_with_CSS-16640.html
    http://css.maxdesign.com.au/floatutorial/
    http://webdesign.tutsplus.com/sessions/web-design-theory/
    Creating your first web site in Dreamweaver -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.

  • Calculating Time (How do you create a time log)

    I need to create a spreadsheet that each row consists of a date, *clock in* time, a *clock out* time, a duration of the the total hours (ex: 9:00am - 11:00am = 2 Hours). With this being said, what is the function to calculate the total hours between each clock in and out time?
    Please Help. Thanks!

    Do you know that the iWork Formulas and Functions User Guide is available to every user from the Help menu ?
    As far as I know, 9:00am -11:00am is not equal to 2 hours but to (-2) hours!
    In cells of column C the formula is
    =B-A (which calculates 11h-9h, the opposite of what you did)
    in the cell C11 (in the footer row), the formula is
    =SUM(C)
    Yvan KOENIG (VALLAURIS, France) samedi 5 septembre 2009 17:53:30

  • Somebody has created an apple id using my gmail id. So I gave forgot password option and reset the password of the id. But for resetting the security questions, link is going to some other email id which is created by the other guy.How can I resolve this?

    When I tried to create and apple id using my gmail account i found that somebody has already created an apple id using my gmail id. So I gave forgot password option and reset the password of the id. But for resetting the security questions, link is going to some other email id which is created by the other guy. Now the problem is that the other guy also can reset my password and access my account.
    I contacted apple customer care and they are not ready to help me saying that I need to give information about the last device I logged in using this id. How can I give it when I did not create it?:) Also they are saying this account has been verified and that could happen only if someone has hacked my gmail account and verified the id using the link sent by apple.
    Later I did some experiments and found that this is a security flaw from apple. Somebody has created the id and never used it(I tried to loggin to icloud and it was saying this account was not used it any apple device). The account became verified when I reset the password.(This is a bug, account should be verified only when we click on the verification link sent by apple).
    The other mistake apple did is that they allotted my gmail account to someone before it's verified eventhough it cannot be used unless verified. Actually apple should allot the account id only after verifying the email address.
    Apple customer care is not ready to help and I am tired of fighting with them. Can any of you guys suggest any means of getting back my gmail id to use it as apple id?

    I don't think you're going to be able to. I would guess the other person used your address by accident, and when he found he couldn't access the account (because you'd changed the password) he abandoned it. Your GMail address is now locked to that account and even if it was changed you can't use it to create another.
    You already have an Apple ID, which you use to log in here; you can use that to create an iCloud account if that's what you are trying to do. If you want to create a different Apple ID just get another free address such as a Yahoo one.

  • HT1766 i had the iphone 4s 16g and backed it up to my laptop prior to purchasing a new iphone 5c 32g i never hooked it up to my computer since i bought it and i just did last night and it made it go back to what my iphone 4s was how do i fix this issue

    help!!! i had an iphone4s and now a iphone 5c i need help restoring the new phone to what it had at last update.... i lost all my pics, any new contacts, texts, notes etc.
    all apps i downloaded new are there, but everything else gone, someone said i need to restore to my icloud? but im not sure how to or what that will do? my phone is a 32g old phone was 16g, but this new iphone 5c is saying not enough memory but there is showing plenty.

    It sounds like you have automatic sync turned on in iTunes. If you didn't back up your new phone, you're stuck with what you've got.
    FIrst turn off auto sync in iTunes before you plug the phone in again: http://support.apple.com/kb/PH12320
    Then try to restore from an iCloud backup if you have that turned on: https://support.apple.com/kb/ph12521

  • Processing in camera raw creates diagonal bands on image - how can I fix this?

    I have Photoshop Elements 11 on a Mac running 10.6.8. I have been taking raw images on a Canon T3i and processing them in camera raw at 16-bit and then fine-tuning in the editor with no problems until this week. Now when I process an image and open it in the editor, the image has diagonal bands across the whole thing. The image is still visible through the lines - they appear as distortions or noise. If I zoom in or out the bands are not visible, so I initially thought it was an odd viewing-only problem. However when I save my edited image in various jpg sizes/resolutions the bands are still visible.
    I tried working with photos taken on different days and that didn't make a difference. I tried restarting - no difference. I tried resetting any preferences I may have changed - no difference. I tried adding noise to the photo because I found mentions of banding in areas of low contrast that needed noise to reduce banding - no difference. I tried not changing a single setting in CR and processing - no difference. I updated the CR plugin to 7.4.0.137 - no difference. When I run the software updater in elements it says my software is up to date. I am out of ideas except for reinstalling the entire program.
    I have attached screen grabs to show the problem I am having. On the top is what an image looks like in CR. On the bottom is the same image after it is opened in the editor. When I enlarge the image the lines are no longer visible, but when I save the image as a jpg the lines are visible in the jpg.
    Any ideas as to what the problem is? 

    http://support.apple.com/kb/HT2090 How to Troubleshoot iSight

  • I can download documents and photos to Facebook, but I am unable to download the same to create a email attachement. How do I fix this?

    I know how to create pdf attachments. I've been doing it successfully for years, but as of a week ago, I am suddenly being prevent from attaching documents and photographs to email messages. They are not being accepted. I am, however, able to send documents and photos to Facebook messages, but not to email attachments. What do I access to resolve this problem?

    What email application are you using?
    If it's a web based email program, try clearing your cookies and cache:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Creating a web site? How do you do this using iPAD2

    Can you create a web site using an ipad2? If so how do you get started?

    BigTone,
         You can use 3rd party apps to create or edit websites on your iPad.
    Gusto - $9.99 is available on the App Store
    It is a website development environment designed for the iPad
    WordPress - Free is available on the App Store
    Is designed to compliment an existing (WordPress) website giving you options to edit, post, receive comments.
    The question is how savvy you are when it comes to creating a website, there are many 3rd party apps out there to assist you in website creation.

  • How do I prevent fullscreen to create its own space or how do I create a keyboard shortcut to such a fullscreen space

    Hello,
        In Mountain Lion, I could select from the dock icon the Options -> Assign To -> This Desktop to link back a fullscreen app to one desktop which allowed me to have a direct shortcut to my fullscreen app, e.g. ⌘3. In Mavericks this does not work and I cannot find how to disable the new space for fullscreen app nor how to create a keyboard shortcut for switch directly to that app once it's in fullscreen.
        Any help would be much appreciated, I would hate to have to downgrade back to Mountain Lion.
    Cheers,
    kybus

    The most typical solution for enterprise sites is to store their users credentials in an LDAP store such as Oracle Internet Directory (OID) or MS Active Directory. LDAP is an industry standard for extremely fast directory services over IP network infrastructure (http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol).
    In turn some sites store their user credentials in databases tables. Of course databases can be configured for fast lookups too, but it is a database centric solution where LDAP is designed to work across networks and is ideal for servers as a result which live and breath on the network.
    In case of Java EE applications and especially those written in ADF, the use of these services isn't written into the application, but rather the application delegates this responsibility of configuring and providing these services back to the Java EE server. So for example Edwin's post is about configuring a WLS "security provider" to lookup user's info from the database, and here is another blog I wrote for MS Active Directory a while back (http://one-size-doesnt-fit-all.blogspot.com.au/2008/12/configuring-wls-with-ms-active.html). The main advantage here is you don't have every application baking its own solution, rather WLS provides a standard well tested way to configure the security lookups.
    In terms of writing (i.e. creating users) to the security store over reading from it, indeed you need to build your own code. Ramandeep Singh Nanda has a nice post on doing this with OID through Oracle's OPSS: http://ramannanda.blogspot.com.au/2011/09/opss-adf-security-utility.html
    Finally what sites like Amazon and Facebook do aren't necessarily good examples to follow as they're application's requirements are typically far in excess of a typical enterprise site, and in turn have often written bespoke solutions to deal with their scalability and distribution requirements. I dare say LDAP is a good choice for 99% of enterprises.
    CM.

  • I need to create three different sized posters - how do I do this?  I'm looking for a place to enter specs or know that my design can accommodate specific dimensions.

    I'm not Photoshop saavy, but I can work well in Pages.  I just need to know how to resize for different size printed materials.  For example, how do I change the size of one design to accommodate three printed pieces - 8.5" x 11", a 11" x 17", and then the same image in 24"x36"?
    Any help would be greatly appreciated!!

    Commercial Printing requires images to be 300 dpi (pixels per inch).
    You will have to do the maths as we don't know how big the images are, whether they fill each size or only part of them.
    If they bleed (go off the edge of the paper) they will need an extra 3/8" (.375") on each edge.
    So for an image to fill the largest size and bleed you need an image 7425 x 11025 pixels. I hope you have a good camera. You can aways reduce the dimensions down from that.
    Peter

  • When creating a lot of pdf's from Word my computer opens every created pdf for viewing? How do I remove this property from use

    Have to create a lot of pdf's in the future, so this property is quite annoying. Is it removable ?

    Using Adobe Acrobat Professional
    Converting a lot of Word.docx to pdf. And each time the system shows me the resulting pdf to view. It is annoying but not critical to my work. Is there a place in the Adobe Acrobat Pro preferences or some other place to remove this.
    I am using the right mouse button to create the pdf.
    Anu Kivimäki
    Secretary, Global Product Development Configured &
    Standards Products, Global technology
    Pumps Equipment
    Sulzer Pumps Finland Oy
    P.O. Box 66, Pajatie 75,  FI 48601 Kotka
    Tel + 358 (10) 234 5379
    Mobile + 358 50 526 1233
    [email protected]<mailto:[email protected]>
    www.sulzer.com

Maybe you are looking for

  • How can I reactivate my iTunes account

    My Apple ID has been suspended for security reasons , how do I reactivate it

  • Duplicate songs all over the place!

    Ok, first let me give you the layout. 16 GB iPod Nano Dell Inspiron E1505 with Vista Home Premium Linksys WR310N (GigE switch) Sony Vaio running Windows Server 2003 I have ALL of my music located on a shared partition on my Windows 2003 server. I hav

  • Delete payment Information

    My membership has been canceled due to my will. But you are still trying to charge me. How can I delete my payment information so there will be no such thing?

  • How to choose destination URL

    In the dashboard page, I have a "link or Image properties", In destination, if I choose URL, how would I point it to the report? I understand when I choose the "Request or Dashboard" I can browse to the report and use the path, but how does the URL w

  • TS4363 cannot access exchange account thru calendar in mountain lion

    after upgrading, in addition to all the other exchange issues that everyone is having, i also find that i cannot even attempt to change settings in calendar when i go to click on the exchange account under options.  it simply gives me the middle fing