This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have only put the PHP code I dont think HTML is needed as its quite a standard form.
I am kind stuck here. What i need to is everytime a user enters the no of oranges, apples and bananas this value be added on to what ever value there is in the text file currently.
in the text file if the user submits for the first time it will print out in the example below:
The total Number of Apples: 10
The total Number of Bananas: 10
The total Number of Oranges: 10
subsequent submission it will add on to the new value entered and it will replace the value 10 in this case.
Can someone assist in solving this problem?