jimmytubbs Posted April 29, 2008 Posted April 29, 2008 EDITED: hi 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); } cheers jimmytubbs p.s i am trying to learn how to code Quote
gurpreet Posted April 29, 2008 Posted April 29, 2008 Re: HElP! ok i suck at coding BUT i think the 1st one means that $membs and $pages arent valid, so you cant use them. Quote
jimmytubbs Posted April 30, 2008 Author Posted April 30, 2008 Re: HElP! ok i suck at coding BUT i think the 1st one means that $membs and $pages arent valid, so you cant use them. and that helps me how? :? Quote
Spudinski Posted May 1, 2008 Posted May 1, 2008 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.