Jump to content

Recommended Posts

Hello all,

 

I am quite new to PHP, so wanted to get an overview of what it would take to make a simple budget html/php page.  I want to be able to go to a website page and enter in spending for particular budget categories. This means I need to have some total values stored somewhere, then subtract from them when I enter numbers into the textboxes. I would like this information to be always saved, and have a button to reset the totals every month or so.

 

Do I need to set up a mySQL database for this? Or can I just use php to update a text document that I upload to my site? With the text doc, will the values stay updated when I navigate away from the page?

 

Thanks for any help.

 

haus

Link to comment
https://forums.phpfreaks.com/topic/73411-creating-a-simple-budget-form/
Share on other sites

You could do this with a text document, but depending on the situation you may want to use a database. Is this site going to be ONLY for you, or are multiple people going to be using this? If it's only for a small amount of people, then it would be fine to use a text document if you choose to.

yes, its just for me and my wm6 htcp4350. I haven't really worked with mySQL, apache or php, so I am waying that VS setting this up in a text doc.

 

Anyone have a helpful tutorial on storing php numbers in a text doc and then differencing and updating the variables based on textfield inputs? :)

 

Or something similar to set me in the right direction?

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.