Find Jobs
Hire Freelancers

Have fun with PHP arrays and date functions -- 2

$10-30 USD

Cancelled
Posted almost 5 years ago

$10-30 USD

Paid on delivery
Task is in comments - only $is_specific_date =='1' and $is_weekend =='1' need work. if ($is_specific_date =='1') { // Push $start and $end into $dates_array[] as outbound ($start) and inbound ($end) } else if ($is_holiday =='1') { $sql = "SELECT country FROM `airport` WHERE iata = '$fromCode'"; var_dump($sql); $country = $con->query($sql); $row = $country->fetch_assoc(); $country = $row['country']; $sql = "SELECT (date - INTERVAL 1 DAY) AS outbound, (date + INTERVAL 2 DAY) AS inbound FROM `holidays` WHERE date> NOW() and date < (NOW() + INTERVAL 1 YEAR) and country like '$country' "; var_dump($sql); $dates = $con->query($sql); $dates_array[] = $row; while( $row = mysqli_fetch_array($dates)){ $dates_array[$row['outbound']]['outbound'] = $row['outbound']; $dates_array[$row['outbound']]['inbound'] = $row['inbound']; } var_dump($dates_array); } else if ($is_weekend =='1') { echo $start; echo $end; echo $startw; echo $endw; /* Find all Thursdays and Sundays in between start and end. If start is less than today's date use today's date instead. Save into array with Thursday as Outbound and Sunday as Inbound (see above) */ }
Project ID: 20033450

About the project

20 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
20 freelancers are bidding on average $24 USD for this job
User Avatar
hello, i understand your requirements... please contact me or accept my bid so that we can discuss more and start soon... i m expert in this type of projectInfo... u can also see my portfolio... please, give me a chance to fulfil your requirements.. hope u will do i m waiting for your response.. thank you.. :)
$22 USD in 1 day
5.0 (501 reviews)
7.5
7.5
User Avatar
I can do it now i am bhavika i have 3+years experience in php , laravel , ajax , jquery , javascript , html ,css, bootstrap so i can do it and i can start it right now so please give me chance to serve you i have done many project and i can fix this within 1 hour :)
$20 USD in 1 day
5.0 (173 reviews)
6.9
6.9
User Avatar
Hi there, I do PHP programming and I know how to work with arrays and date utility libraries. I went through your requirements and I would like to do this project if given the opportunity. Let me know if you are interested.
$30 USD in 1 day
5.0 (422 reviews)
6.9
6.9
User Avatar
Hi, I am 8 years experienced web developer. I understand your point. I can complete this project within two hours . Please check my profile for my work quality . Thanks, Bhaskar Mandal
$30 USD in 1 day
4.9 (87 reviews)
6.2
6.2
User Avatar
Hi! I'm PHP expert and delighted to inform you that I am very interested in your job description after read yours carefully. My experience in PHP is over 8 years and I mastered not only original PHP but also his famous frameworks like Laravel, Wordpress, Magento... That's why I informed that is very interested. That issue seems to be very simple, so I will complete to fix it with some hours. Looking forward to your positive reply back. Thanks.
$25 USD in 1 day
5.0 (19 reviews)
5.5
5.5
User Avatar
Hello! I am a web developer. Have not you seen the proposal I wrote on previous project you posted? I wrote there I can do it Saying again If you hire me, I am gonna do my best for our project. I guarantee the good result. I will wait for your reply. Thank you.
$25 USD in 1 day
4.9 (26 reviews)
5.6
5.6
User Avatar
Hello I have walked through your note and enough confidence that I can work on your project I am having 10 years of rich experience as Mobile & Web Developer and also know graphics designing means in my career i learn many things. I have In-depth knowledge of various platforms, software systems, and servers. Extensive background in full life cycle of Software Development process including requirements gathering, coding, debugging and maintenance. You can check my profile review also from clients. Let's connect and discuss in details Thank You
$30 USD in 2 days
5.0 (22 reviews)
5.0
5.0
User Avatar
Hi. I am Alex. I can give you a hand and deal with the PHP script you have. I am a back-end developer and I work with hideous and complicated PHP stuff all the time. Give me a message. Cheers!
$30 USD in 1 day
5.0 (20 reviews)
5.1
5.1
User Avatar
Hello, I am new to here this platform freelancer.com but developed number of website on PHP and mobile apps in last 9 years. I can fix your date and array funtions on PHP. Thank you Altius
$30 USD in 1 day
5.0 (3 reviews)
2.8
2.8
User Avatar
Hi, I am a php programmer and website developer. I have completed many projects before. I have read and understood what you require. Let me know your response. Thanks
$20 USD in 1 day
5.0 (5 reviews)
2.2
2.2
User Avatar
Dear Client, It's pleasure to meet you and i have read your description carefully and understood. I'm an expert at HTML, CSS, JavaScript and JQuery. So I can write high performance, robust and clean code and design for your project. please let's discuss your project and reasonable price for this project in more details. Thanks & Regards Sunita
$25 USD in 1 day
5.0 (1 review)
0.8
0.8
User Avatar
Hello. How are you today? I've read your job post carefully. This job really attracts me and also your required skills are completely matched with my major skills. I have good knowledge and rich experience with it. I built many websites by using this so it will be an easier and suitable job for me, I think. Mainly I want a long term relationship with you after this job. As you can see on my profile, I have been working as a full stack developer of over 7 years and is specialized in WordPress, PHP, JS frameworks and libraries and so on. I received good reputations from clients with their successful jobs. So once you hire me, I can start working immediately and can finish as you want. Please ping me asap when you need me. Thanks.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, This is not a generic bid, I have understood that what you are looking for. I can do this within a couple of days, Let me know if you are interested so we can move forward. Thanks, Naveed
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I've been working as a PHP developer for more than 2 years.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello Thanks to support your project. It,s pleasure to prefer recommendation for my job first. So the important thing what i want to show you is i have deep and flexbile experiences within website design ,PHP and HTML. Of course as you could get to know after you award me ,i am familiar with a number of technologies and ideas for those field i offered above. Through this case i can provide you all relevant ways to take this job and able to get a great goal from it. If you can have a kind and flexible opportunity for me,then i will strive for this job to be completed as well as you imagine. Thanks a lot again and i would do my best for you.....i promise.
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
This will be a pretty easy job and i don’t see that anyone should be paid more than $10 for this.! I can get this done quickly.!
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Francisco, United States
5.0
219
Payment method verified
Member since Apr 4, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.