
September 4th, 2007, 11:50 AM
|
| Administrator
Join Date: Jun 2007
Posts: 3,709
BRL$: 42,917.50 Thanks: 0
Thanked 14 Times in 10 Posts
Rep Power: 409 | | Going crazy, need help with phpprobid error Hey guys, been trying to figure this out but cant seem to find the problem. I get the following errors: **Warning*: mysql_num_rows(): supplied argument is not a valid MySQL result resource in */usr/home/bidorbug/public_html/auctiondetails.php* on line *717* *Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in */usr/home/bidorbug/public_html/auctiondetails.php* on line *719 **Here is the code snippet thats apparently creating the error: if ($auctionDetails['maxbid']>0) { echo " - "; if ($auctionDetails['private']!="Y") { $getBidderId=mysql_query("SELECT * FROM probid_bids WHERE auctionid='".$auctionDetails['id']."' AND out=0 AND invalid=0 ORDER BY id DESC"); $nbBidders = mysql_num_rows($getBidderId); ## display only one high bidder, and a (more...) link to a popup if there are more high bidders $highBidder=mysql_fetch_array($getBidderId); Please help guys, I'm stuck like mad here. Regards, Shaun To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. █ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | |