Hey I'm developing a php/mysql webapp that uses bitcoin and I've got a few questions.
The VPS is setup, bitcoind is running, and I have all the API calls where they need to be in the script, but I'm not sure how I should be handling the bitcoin amounts.
My main questions are: How should bitcoin values be stored in a database table? Does any particular data type (int, double, etc) work best?
I saw the wiki page for proper money handling and there was a PHP function there called JSONtoAmount. Can anyone clear up when that should be used?
Any help on this would be appreciated. It's the last thing that needs to be done before we are up and running.