GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

Contribution table

   Click here to post similar project

Contribution table is project number 150498 posted at GetAFreelancer.com. Click here to post your own project.

Status: Closed (Selected Service Provider)
Selected Providers: selected service provider ciprianvb
Budget: $30-100
Created: 06/06/2007 at 16:18 EDT
Bidding Ends: 06/11/2007 at 16:18 EDT
Project Creator: tompatterson View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(11 reviews)
Description: I have a php script accessing a mysql database and generating a report using mysql_fetch_array. After that, I am moving the results around in the script and performing some calculations before generating a report.

Data in the mysql data table essentially consists of a number of contibutions, with the donor, the date and the amount all in separate field for each record. I am trying to get a listing of the contributions by each donor, with the amount for each month listed in a separate column for each month.

The problem I am having is that while my script does this, it generates a separate line for the donor for each month there is a contribution. Thus, if there are three contributions in three separate months, I end up with three lines for that donor.

I would like a fix for this problem. Additionally, I am using just one date for each month such as 2007-01-31, but would like to have the script be able to combine amounts if there were more than one date for a donor in an amount.

Attached is a screen shot of the result I am currently getting, which shows the problem, as well as the script I am currently using. I have a mysql dump which can be sent if needed.
Additional files submitted:
Screen01.JPG
contributionList3.php
Report violation
Job Type:
  • PHP
Database: MySQL
Operating system: Linux
Bid count: 2
Average bid: $ 33

 

Related project
 
Clipshare Featured
posted by directiz
Budget: min $3000
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
ciprianvb
View PM Post PM
$ 35 0 days 06-06-2007 16:25 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(43 reviews)
the problem is that u need to use the DISTINCT MYSQL function coreclty. I can show u how. I ama vailable to talk on yahoo or msn or skype using this id: xxxxxxxxxx thanks, Ciprian
deltahex
View PM Post PM
$ 30 1 day 06-06-2007 16:42 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(5 reviews)
Interested.
Bid on This Project

 

[ GAF Top Users ] [ Secure Forms ] [ Web Development ] [ Web Forms ] [ View All Projects ]

What is GetAFreelancer.com? ( Read about the company )

Our escrow feature is developed to protect both buyers and sellers. Outsource projects and save a lot of money. Getting affordable freelance work, freelance programming and custom web design done for your website has never been easier. We provide a safe escrow environment and you don't release the money until project is completed.

A freelancer is an independent worker, not on salary, hired instead on a project basis. Our site is global and we have freelancers from India, Romania, Russia, Ukraine, United States, UK and many other parts of the world. Bookmark our homepage to make sure you don't forget about our website next time you need to develop an IT project for yourself or your company.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.