Find Jobs
Hire Freelancers

do some php

$10-30 USD

Closed
Posted almost 8 years ago

$10-30 USD

Paid on delivery
INFO3410 Lab Exam The [login to view URL] file provided will be used to complete the following questions. Section 1 Write PHP Code to complete the following tasks in a PHP file ‘[login to view URL]’: 1. Create an associate array called “crop” that will store the name of the crop “banana”, the price “2.0” and the unit “kg” 2. Create an indexed array called “crops” add the crop array created in 1 to this new array crops. 3. Add the following information to the end of the crops array: a. Orange 5 per lb. b. Cabbage 10 per bundle c. Peas 10 per kg. 4. Using PHPMyAdmin create the database called “ttagri” which contains a table “commodities”. The commodities table have the following columns: a. id – number – primary key – auto increment b. name – varchar 100 – not null c. price - double – default 0 – not null d. unit – varchar 10 - default lb – not null ____________________________________________ 5. Write a function called “saveCrops” that will retrieve a collection of crops and store each crop in the database. Note that each crop in the collection is stored as an associative array as created in Q1. 6. Test the function with the array and values created in Q2 and Q3. After operation is performed comment the call to the saveCrops function to keep it from repeating multiple times. 7. Write a function called “getAllCrops” that will retrieve the records from the database, store each record as an associative array where the columns are the keys and finally return a collection (indexed array) of all of the crops retrieved from the database. 8. Using the function created in Q7 display JSON data for the records stored in the database fro crops. I NEED DONE IN 30MINS
Project ID: 10939745

About the project

9 proposals
Remote project
Active 8 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
9 freelancers are bidding on average $29 USD for this job
User Avatar
I am very much interested to work in your project. I know the following languages that will meet the techincal needs of your project PHP, MYSQL,Wordpress,Javascript, CSS, Boostrap, responsive design. I can analysis the system & can optimize the system very well. I also have excellent time keeping skills and completion of the work successfully. I am confident that I can finish the system very well. I will look forward to discusss with you.
$83 USD in 10 days
5.0 (27 reviews)
5.1
5.1
User Avatar
Hi, I can do it easily, it will be done in less than 1 day, I have more than 5 years in web development. contact me for more details.
$30 USD in 1 day
5.0 (3 reviews)
0.9
0.9
User Avatar
Hi, I can do all this in the required time i.e 30 mins. I'm new to freelancing so please give me this opportunity to finish the required task. Thanks.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have long experience in developing PHP applications as well as jQuery. I build solid solutions for my customers with good base to develop projects in the future. I always listen to feedback from my customer and make sure that he is satified with my work. In my projects I always try to use modern technologies and tools to build fast and secure applications.
$25 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
getting started on the project, first implement php code, then MySQL table, then php code for table display, finaly display json code
$25 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi! I am a student and I really need a job. I like to work with the database and I worked with MySQL, phpMyAdmin and php. Thank you!
$10 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of TRINIDAD AND TOBAGO
Trinidad and Tobago
5.0
9
Member since Jun 23, 2015

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.