Post from PHP into MySQL, then send data via email

This project was awarded to myvisl for $13 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $100 USD
Total Bids
Project Description

I need to post the following pieces of data to a PHP page that will then insert them into a MySQL database:

All fields are just plain text. Before the data is inserted, a search should be made using email and product and if a match is found, the record should be updated instead of inserted.

The PHP page that inserts/updates the database should return with either Success or Failure (and a database error code if possible).

The second part is a PHP page that can be hit with a cron job. That page should check each record and see if insertdate + numdays is equal to the current date, and if so, email the data using a template grabbed from disk.

For example, the template might look like this:

Dear ^name,
Here is a reminder about ^product.

The ^tokens are replaced with the values from the database record and it is emailed (plain text email) to the email address in that database record.

That's it, it's not rocket science and I'm sure someone who knows what they're doing can knock this out really fast.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP version 4.4.4 MySQL version 4.1.21-standard

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online