Highest Amount Online

Started on the old forum in November 2007 · view the original in the archive · old links redirect here

7 replies · 739 views · started 19 years ago · 1 min read

2 participants
Guest #1

Here's the errors that i get

Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 22 in /home/*****/public_html/whosonline.php on line 93

Line 93 is $highest=(mysql_result($sqlthing,0,"highest"));

If i take line 93 out it stops the highest number online staying at the most amount of users online, it just updates with the number each session

I took the table and coding from a site that is working correctly..But on new site it gives me those errors...Please help External image (may be gone)

nclemale36 Lead · 537 posts #2

Here's the errors that i get

Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 22 in /home/*****/public_html/whosonline.php on line 93

Line 93 is $highest=(mysql_result($sqlthing,0,"highest"));

If i take line 93 out it stops the highest number online staying at the most amount of users online, it just updates with the number each session

I took the table and coding from a site that is working correctly..But on new site it gives me those errors...Please help External image (may be gone)

go to your highest table. click insert and put in the fields . for id =1 and highest = 2 or woteva number u want . that should clear ya error

Guest #3

id is already set at 1 hun

Guest #5

It's got rid of the errors, but its still not working right, Its updating each login session and not sticking at the highest online

nclemale36 Lead · 537 posts #6

It's got rid of the errors, but its still not working right, Its updating each login session and not sticking at the highest online

can we see your full whosonline code .

Guest #8

I think its the database more than coding, it seems to work for a little while and then stops, ive disabled it for now, its doing my head in lol

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close