Debugging some php

已完成 已发布的 May 1, 2006 货到付款
已完成 货到付款

I have a file called the [url removed, login to view] that pulls all similar values within a table along with another summed value, in this case called revenue, and then allows the user to sort either of them in ascending or descending order. It doesn't work and has two problems. The first is that the first column, 'company', is by default pulled up in ascending order. It can be sorted in descending order and back into ascending order, and then stops working. The second column, 'revenue', doesn't work at all and gives the following message when the user tries to sort it; PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\hshome\prent327\[url removed, login to view]\[url removed, login to view] on line 63 PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\hshome\prent327\[url removed, login to view]\[url removed, login to view] on line 69 I would like both of these problems fixed. I'll attach the [url removed, login to view] file and this is a sample link so you can see the page at work - [url removed, login to view] Thanks.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

All versions of IE and Netscape.

工程 MySQL PHP 软件构架 软件测试

项目ID: #3473001

关于项目

12个方案 远程项目 活跃的May 2, 2006

授予:

andreig

See private message.

$12 USD 在3天内
(28条评论)
4.2

有12名威客正在参与此工作的竞标,均价$13/小时

TakeRealUK

See private message.

$17 USD 在3天内
(551条评论)
6.7
bgeorge

See private message.

$17 USD 在3天内
(243条评论)
6.4
musatt

See private message.

$12.75 USD 在3天内
(43条评论)
5.1
eilyasoft

See private message.

$12.75 USD 在3天内
(61条评论)
4.8
hiteksolutionsvw

See private message.

$17 USD 在3天内
(50条评论)
4.7
siluvw

See private message.

$17 USD 在3天内
(108条评论)
4.7
codereverser

See private message.

$12.75 USD 在3天内
(53条评论)
4.6
kicktd

See private message.

$12.75 USD 在3天内
(20条评论)
3.7
messirevw

See private message.

$4.25 USD 在3天内
(4条评论)
2.5
vcarson

See private message.

$3.4 USD 在3天内
(20条评论)
2.4
octopivw

See private message.

$12.75 USD 在3天内
(4条评论)
2.3
Sutradhar

See private message.

$17 USD 在3天内
(3条评论)
2.2