Re: Newbi Question with calculate
| From: | Silvio Siefke | Date: | Wed, 06 Apr 2011 16:12:56 +0000 |
| Subject: | Re: Newbi Question with calculate | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312281@lists.php.net to get a copy of this message | ||
Hello,
sorry i has not correct write.
The example when is finish can see at
http://silviosiefke.de/finance/stock/stock.php
For this i not use a mysql Database, its normal not so much at data.
I have write the source as Text Files:
http://silviosiefke.de/finance/finished/txt/index.txt
- That is the Start Page.
The included Files:
http://silviosiefke.de/finance/finished/txt/include.txt
-> Yahoo API
http://silviosiefke.de/finance/finished/txt/quote.txt
-> Yahoo Symbols
http://silviosiefke.de/finance/finished/txt/variable.txt
-> Calculate
If I calculate all the shares in my portfolio, then I have to create for
each share a file variable.php. Thats little long, is not the problem i
make it, but i think there is a chance to use the file variable.php at
moment for all what come in my portfolio?
For example at Moment i calculate Beiersdorf AG, the next in Portfolio
is Deutsche Bank AG. Now i must write a new variable.php for Deutsche
Bank. Or is there a chance that i can write one variable.php for all
Shares what i take in the portfolio.
Sorry for my english, i know its not perfect. Hope all can understand
what i mean. I learn every day and i find good that i not must use
google since few weeks.
Thanks for help, have nice day at all.
Regards
Silvio