Find Jobs
Hire Freelancers

Quiuck fix to php/MySQL script

$30-250 USD

In Progress
Posted almost 15 years ago

$30-250 USD

Paid on delivery
We run a jobs bulletin board for tradespeople. We send them notice of work in their area. We have a database of tradesman subscribers. When a form on our website is filled in, it runs a php script that extracts a certain number of number of matching subscriber records from a MySQL database. The number of records it extracts is hard coded in the php script, and returns the same amount of records each time. eg: Use the form to find a bricklayer -returns 15 of the closest bricklayers find a concretor - returns 15 of the closest concretors We wish to have this changed so that the amount of records returned is variable, based on the trades category selected in the form. eg: find a bricklayer -returns 12 of the closest bricklayers find a concretor - returns 18 of the closest concretors To do this we have added a new field to the trades category table and indicate the number needed for each category. We need the php script to extract this variable when determining how many results are needed. This should be fairly easy for the right person and should only require a few lines of code. I have included the php script and it's includes script. See lines 94 to 100 of [login to view URL] - it is '$t2' that needs to become dynamic. DO SEND SEND 'CUT AND PASTE' REPLIES. ONLY RESPOND WITH A PM EXPLAINING YOU UNDERSTAND THE BRIEF - MUST HAVE GOOD ENGLISH SKILLS
Project ID: 442741

About the project

3 proposals
Remote project
Active 15 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

About the client

Flag of AUSTRALIA
Berowra Heights, Australia
5.0
38
Payment method verified
Member since May 30, 2007

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.