LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2005, 12:17 PM   #1
jasontn
Member
 
Registered: Feb 2004
Location: Malaysia
Distribution: Fedora Core 2
Posts: 60

Rep: Reputation: 15
MySQL - Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 9


Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 9


I received this error message a while ago. The funny thing is, my php scripts were working perfectly well earlier, until I increased the records from 20 to 400.

Snippets of my script:

$query="SELECT * FROM ssipass WHERE given=''";
$result=mysql_query($query);

$num=mysql_numrows($result);

mysql_close();


$i=0;
while ($i < $num) {

$id=mysql_result($result,$i,"id");
$ssiuser=mysql_result($result,$i,"ssiuser");
$ssipass=mysql_result($result,$i,"ssipass");
$given=mysql_result($result,$i,"given");
?>

Any help is appreciated.

L8R

jason
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
PHP: changing row color showing mysql results emilioestevezz Programming 15 09-13-2004 06:27 PM
MySQL Row Limit agallant Programming 1 06-25-2004 11:16 AM
MySQL queries from Shell - unexpected result philipz Programming 5 05-04-2004 05:38 PM
mySQL redirecting query result to a .txt file! buttersoft Linux - Software 8 12-12-2003 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration