Php To Add Data To A Database

Php To Add Data To A Database
I have 2 simple quick projects and wish 1 person to do both.

1) In a table I have usernames, I want a php script to read each username and insert into a 2nd table a item for each of them. (( i.e. username + april stuff )) I must be able to change items in the php as and when I need.

2) In a table I have usernames and a ip addy, I want a php script to read a file and check if that IP is in the table, if it is do nothing if it does not exist insert username + ip into the table.

You must be available to do this work asap, I know it will be a very quick job 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *