In Progress

Simple PHP Script Needed - $30 Max

I need a simple PHP Script written that will do the following:

1. The first time the script is run, it will ask user for the following:

Enter Name

Enter Goal

Enter Goal Date

The Script will write this data to a goal file, called [url removed, login to view] (or something like this).

2. The Script will then and each time it is run thereafter, ask for and store the following:

Enter Current Weight

The entry date will also be added to the log (date(today))

The Script will write this data to a data log file, called [url removed, login to view] (or something like this).

3. The Script will then and each time a new weight is added, compare this with the previous entered weight, as well as the goal weight.

Open a [url removed, login to view] and [url removed, login to view] file and read in data.

Calculate NewWeight - OldWeight = DifferenceWeight

If DifferenceWeight < Old Weight, then echo "Good for you, you lost " DifferenceWeight "pounds."

else echo "You owe $5 this week for not losing weight."

I need to keep a runny total of the money owed.

This should be very simple. I don't want this in MySQL. Please have comments in the script so I can edit it and I don't know too much about PHP.

If you have a cleaner way of doing this, that is fine. The above is just my way of explaining it.

I do not intend to pay more than $30 unless you can do something really super duper impressive. If you can show me the working script that would be great.

I need you to install it on my server or be available to walk me thru installing it to make sure it works.

Thanks!

Skills: PHP, Script Install

See more: needed money, impressive about me, ask php script chance, goal php script, php script data logging, write a simple php script, walk, super good, owe, install php script, comments needed, cleaner, php script open file, edit txt php, installing script, time today php, simple edit, write script file, lost server, php file read, php read txt, php script server, script read, ask php, needed time open

About the Employer:
( 64 reviews ) Philadelphia, United States

Project ID: #235890

Awarded to:

PatrickDev

Hi, my name is Patrick and I can set this up for you. MySQL would be more efficient but if you have your heart set on using a txt file it can be done that way also. I can get this to you within 24 hours, would be happy More

$30 USD in 1 day
(35 Reviews)
4.5

3 freelancers are bidding on average $30 for this job

value4u

Hi, please check my PM. Thanks you.

$30 USD in 0 days
(285 Reviews)
8.2
sritechnocrat

Please check PM.

$30 USD in 2 days
(60 Reviews)
7.3