Find Jobs
Hire Freelancers

Write some Software -- 2

$30-250 USD

Completed
Posted over 7 years ago

$30-250 USD

Paid on delivery
I downloaded some sample source code for a TWILIO application using PHP. The code allows a user to text message a invoice number for example 111 to a test twilio phone number and the status is returned to the users phone such as -shipped See working sample Code below- all I want to do is replace the hardcoded $orders array with one populated from mysql. I have a working sample of pulling data from a database(but I am missing something cause it doesn't work) which I will supply to you. This should not take a good php developer no longer than an hour. Thanks much for your help! <?php $orders = array( '111'=>'shipped', '222'=>'processing', '333'=>'awaiting fullfillment' ); if( isset($_POST['Body']) ){ $phone = $_POST['From']; $order_id = strtolower($_POST['Body']); $status = order_lookup($order_id); print_sms_reply("Your order is currently set at status '".$status."'"); }else{ print_sms_reply("Please send us your order id and we will look it up ASAP"); } function print_sms_reply ($sms_reply){ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; echo "<Response>\n<Sms>\n"; echo $sms_reply; echo "</Sms></Response>\n"; } function order_lookup($order_id){ global $orders; if( isset($orders[$order_id]) ){ return $orders[$order_id]; } return 'No Order Matching that ID was found'; } ?>
Project ID: 13057233

About the project

1 proposal
Remote project
Active 7 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
Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web Developer and Web Designer, and have worked with wide variety of skills like PHP, MySQl, jQuery / Prototype, Javascript, HTML, CSS and more for many years. I also have worked over many Wordpress projects. Have good communication skills and great responsibility.
$30 USD in 1 day
4.9 (28 reviews)
4.9
4.9
1 freelancer is bidding on average $30 USD for this job
User Avatar
Honorable Seniors. How are you? I have experience of 7 years in developing Wordpress ,CodeIgniter, PHP, Javascript, CSS, AJAX, Json, MySQL, Web Development so on . Please offer me . I will work for you all my best. I hope that you are successful in the future. Thank you in advance for your time and consideration. I look forward to working with you soon.
$180 USD in 3 days
5.0 (8 reviews)
3.8
3.8

About the client

Flag of UNITED STATES
Elk Grove, United States
5.0
3
Payment method verified
Member since Dec 28, 2014

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.