SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 28th, 2005, 06:02 PM
MCM MCM is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 MCM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP/MySql error. Need Help Please

Hello Group,

Having set up all the files necessary to run my autosurf site, I've run into a problem with the hits.php file. This is the error I get when I try to load it.

Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 7 in /home2/megacash/public_html/autosurf/hits.php on line 23

Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 7 in /home2/megacash/public_html/autosurf/hits.php on line 24

I've checked the hits.php file and find

php Code:
Original - php Code
  1. $type=mysql_result($result,0,"type"); (Line 23)
  2. $br=mysql_result($result,0,"br"); (Line 24)


I've also checked the database and it says

type tinyint(3) NOT NULL DEFAULT '0',
br tinyint(4) NOT NULL DEFAULT '0',

So can someone tell me what the error is and where it is ?

Thanks !

MegaCashAdmin

Reply With Quote
  #2  
Old April 29th, 2005, 12:59 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP/MySql error. Need Help Please

I'm getting the same problem, if anyone can help it would be greatly appreciated. There doesn't seem to be much out there for this error.

One weird thing I have noticed is that if you refresh the page it runs just as it should, but that first load doesn't seem to run correctly. I can't make heads or tails of it.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP/MySql error. Need Help Please


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway