Jump to content

Please help A.S.A.P


Recommended Posts



on my newspaper i get this

Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 12 in /home/*****/public_html if(!$result) { $result=$this->result; }

return mysql_result($result, 0, 0) on line 94

and here the code

 function fetch_single($result=0)
if(!$result) { $result=$this->result; }
return mysql_result($result, 0, 0);




p.s i am trying to learn how to code

Link to comment
Share on other sites

Re: Please help A.S.A.P

Please also post what the value of the variable $cnt is, and if it refers to any other variable, please also post it.

The error message means that the query supplied to the mysql_query function is invalid, and teh function mysql_result is giving an error because it has an invalid resource.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...