5
Фрилансеры,
просматривающие прямо сейчас
1052
ВСЕГО
просмотров
Описание проекта:
Hello.
I need php function that
1.1. Get some data from data base
1.2. Make record to data base
1.3. Generate number.
1.4. Generate html mail with picture (tickets) than send to mail with text . (how should look mail "[login to view URL]")
Parameters that get function:
2.1. uid (user id)
2.2. Number of generation ticket.
Process functions:
3.1 Connect to database and select `mail`, `agent_id` by `uid` that receive function ([login to view URL]) from table 'users'
3.2 Generate 8 number by rand (range 11111111 to 99999999) and add at the beginning to number of `agent_id`.
3.3 Save this number example: 1199999999 to column name `number` table `lotto` with same `uid` and `mail` that was receive on par. `3.1`
CAUTION: Column `number is unique` function should check that saving was successful !!!
Operation amount. par. `3.2` should be given depending on the number in `2.2`
3.4 Generate mail with Tickets and numbers that was generated par. 3.2, 3.3 and send to mail.
Hi Sir,
I am ready to work for you.I have 7 years of experience in php/sql. please see some of my works also check my reviews you will get better idea about my skill.I deliver quality work within time
frame. Please visit my profile once.
Thanks with regards,
Arpit