Jump to content

Creating a Receipt Form (Converting Numbers)


ilikephp

Recommended Posts

Hello, I need to create a receipt using php/SQL:

 

I know how to do it but I have a question plz:

 

...

Name: ______________

Amount: ______________

Signature: _____________

 

If I put the amount: $200 how can it be typed Two Hundred or if I type: $150 can It be typed One hundred fifty?

 

Thanks a lot...

Link to comment
Share on other sites

Exactly what part of doing this trivial task do you need help with? There are countless examples of  forms and php form processing code posted all over the Internet. Taking any of them and adding one line of code to call a php function to convert the entered number into the equivalent word string and output that is, well, a trivial task.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.