Find Jobs
Hire Freelancers

PHP/Mysql query by SearchDate variable

$30-40 USD

Completed
Posted over 11 years ago

$30-40 USD

Paid on delivery
I have a form that my customers use to check all the new items added by the DatePosted field of the database. They select a PositionType from a dropdown menu and enter a begin date as in 20121001 and the result would be a list of all the positions that were added from their searchdate (20121001 to today. Here is the last one that worked before the server was upgrade to the new versions of php and mysql and would list the today of positions between the SearchDate and Today $result = mysql_query("SELECT Count(*) AS total FROM jobs WHERE PositionType = '$PositionType' AND '$SearchDate' <= DatePosted ORDER by JobState"); $job_count = mysql_result($result, 0, 'total'); and the last code to work that listed the positions was: $sql = "SELECT DATE_FORMAT(DatePosted,'%m/%d/%y') AS Date1, DATE_FORMAT(ClosingDate,'%m/%d/%y') AS Date2, JobID, DatePosted, PositionTitle, PositionType, JobCity, JobState, ClosingDate FROM jobs WHERE PositionType = '$PositionType' AND DatePosted >= $date[now] AND '$SearchDate' ORDER by JobState"; $result = mysql_query($sql); So for a small fee I wish to have someone look this over, give me the code to try and when it works I will pay you a small fee as this should be easy for someone that knows what there are doing... I thought I did but it is not working.
Project ID: 2563360

About the project

9 proposals
Remote project
Active 12 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
Awarded to:
User Avatar
I have 5+ yrs of experience in PHP & MYSQL. I can finish your work ASAP.
$30 USD in 1 day
5.0 (3 reviews)
1.7
1.7
9 freelancers are bidding on average $34 USD for this job
User Avatar
Greetings! Best of Freelancer.com to assist you on your project. I offer you the highest level of skill. Please view PMB for our portfolio. Best regards, AHT SERVICE AND TECHNOLOGY DEVELOPMENT JSC
$50 USD in 1 day
4.7 (293 reviews)
8.5
8.5
User Avatar
Please check private message .
$40 USD in 1 day
4.9 (99 reviews)
6.8
6.8
User Avatar
Hi, let start right now
$30 USD in 1 day
4.9 (89 reviews)
6.4
6.4
User Avatar
Ready for service sir, thanks.
$30 USD in 1 day
4.9 (75 reviews)
5.6
5.6
User Avatar
I am ready
$30 USD in 0 day
5.0 (4 reviews)
2.5
2.5
User Avatar
ill do that sir....acvcept me...thanks
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I'm a french web developer who needs extra money for a personal project. I need more details on the problem. As far as I can see, your requests should not be the problem even in case of a server update. SQL language changes are very rare. But who konws :-) Regards
$35 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have good knowledge in PHP ,MySQL technologies. I am very much interested to do your task.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Port Charlotte, United States
5.0
43
Payment method verified
Member since Apr 30, 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.