Find Jobs
Hire Freelancers

Add data from a MySQL table to an existing array

$30-5000 USD

Cancelled
Posted over 13 years ago

$30-5000 USD

Paid on delivery
I have a php file that generates a csv of database records for downloading. Currently all of the fields are in one table. I now must also look up a field from another table in the same database and include that information. Here is part of the code (the entire file is attached). $values_array = array("bookingdate", "cabinid", "hisfname", "hislname", "his_citizenship", "his_birthdate", "herfname", "herlname", "her_citizenship", "her_birthdate", "email", "billing_address1", "billing_address2", "city", "state", "zip", "countrycode", "phonenumber", "handle", "cabin_type", "packagename", "packageamount", "deduction", "payamount", "b_address1", "b_address2", "b_city", "b_state", "b_zip", "b_countrycode", "cardtype", "nameoncard", "cardnumber", "vcode", "expiry", "comments", "referrername", "affiliateid"); In addition, I need to look in table "affiliates" for "affiliateid" and if field "superior" is not 0 or null, then look up the aff_name and include it as the last item in this array. I am looking for someone to do this very quickly. You will have access to the database and I am available on msn messenger.
Project ID: 3777980

About the project

2 proposals
Remote project
Active 14 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
2 freelancers are bidding on average $17 USD for this job
User Avatar
See private message.
$12.75 USD in 1 day
5.0 (20 reviews)
3.3
3.3
User Avatar
See private message.
$21.25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Fort Collins, United States
5.0
623
Payment method verified
Member since Jul 13, 2004

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.