I have tabel named " ap_referral_traffic ", in this tabel i have the fields: id, affiliate_id ip, cpc_earnings, datetime. (USER ID IS " affiliate_id").
First Script
for specific id – that will taken from previous page ling with $id = $_GET['id'] command;
1. Counting all Duplicate ip's FROM "ip" field
2 Show ALL duplicate ip – example – [login to view URL] : 8 TIMES
[login to view URL] all duplicate including the first ip (129.20….) - 1 duplicate ip = 0.30,
for example 8 duplicate ip's is 2.4.
4. Collect and calculate in the same way an invalid IP address beginning with 1 number only. example : 5.120.20.30.
4. Update balance field in ap_members tabel with the new balance
example : balance filed have 100 and now 97.6
user id in this tabel is id and not affiliate_id
5. Delete all fields duplicate ip's from specific user id (, affiliate_id) in ap_referral table
second script
the only difference is instead of counting only specific id, this will run on all users
Proper code writing and clean code is required
An explanation of the actions is required
Hello
I have checked your job description carefully and I can help you with rich experience.
I'm ready to start it right now and I can complete it as you wish in a short period of time.
If you hire me I will do my best and you will be trust my ability soon.
I'm looking forward to working with you.
Please send me a message.
Thank you...
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
2 freelancers are bidding on average $30 USD for this job