Retrieve the data from MySQL database and execute algorithm with PHP
$10-30 USD
Zavřený
Zveřejněno před více než 6 roky
$10-30 USD
Zaplaceno při doručení
It's a WordPress website, and here is the algorithm for PHP script that needs to be executed within particular .php file:
1. Check if WordPress user membership level is "dolphin":
<?php if(woocommerce_members_only(array("dolphin"))): ?>
...do the rest
<?php endif; ?>
2. Get user ID (X)
3. Get user membership start/end dates from:
Table 1: wp_usermeta
Columns:
- user_id : X
- meta_key : _rpwcm_dolphin_expires (start date) AND _rpwcm_dolphin_since (end date)
- meta_value : 1516901635
4. Count number of rows where column "timestamp" is >= start date AND <= end date
Table 2: wp_ahm_download_stats
Columns:
- user_id : X
- timestamp: 1514392796
5. Save the value (number) to variable and echo it.
That's it :)
Deadline: 2 days.
Hello. Wordpress development expert ready to help you with data retrieve. I have more 400 good reviews so all will be done on highest level. Price can be discussed to fit your budget
More 7 years of WP full stack development and more 400 good review
Hello Sir,
I have over 5 years experiences in web development.
I checked all your requirements. As my skills and experiences about PHP/MySQL, Wordpress I believe that I can handle your task well and quickly.
Please contact and discuss so that we can go further.
Thank you.
Hello the hiring member there. Greetings ! I am Bhavika having 2+ years experience in PHP development.
I have read your project details, And I can do this algorithm as you want and I will deliver the job today.
I believe in good customer satisfaction and best quality of service within minimum time and budget.
Please give me a chance to work on this project. Looking forward to be awarded.
-Thanks & Regards,
Bhavika.