suport Posted January 15, 2010 Report Share Posted January 15, 2010 http://paste.php.lv/104532532eadf622cfaec4e46b65636a?lang=php scripts .. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\zinas.php on line 124 kas tur varetu but nepareiz visadi meginaju .. Quote Link to comment Share on other sites More sharing options...
briedis Posted January 15, 2010 Report Share Posted January 15, 2010 (edited) Kodu neskatījos, bet noteikti kļūda kvērijā. Mācies debugot. mysql_query(...) or die(mysql_error()); EDIT: Apskatījos kodu, neuzmanības kļūda kvērijā... atrodi nu pats :) Edited January 15, 2010 by briedis Quote Link to comment Share on other sites More sharing options...
Kemito Posted January 15, 2010 Report Share Posted January 15, 2010 (edited) $sql = "SELECT * FROM ibf_topic sWHERE forum_id=".$forumaID." ORDER BY start_date DESC LIMIT $start, $limit"; Edited January 15, 2010 by Kemito Quote Link to comment Share on other sites More sharing options...
mounkuls Posted January 15, 2010 Report Share Posted January 15, 2010 Aha:) es pat no mobilā pamaniju. Atstarpe ne tur. Quote Link to comment Share on other sites More sharing options...
suport Posted January 15, 2010 Author Report Share Posted January 15, 2010 tagad paradijas topic nosaukums un lapeles , bet tas jaunumu vieta radas tas errors :/ Quote Link to comment Share on other sites More sharing options...
briedis Posted January 15, 2010 Report Share Posted January 15, 2010 tagad paradijas topic nosaukums un lapeles , bet tas jaunumu vieta radas tas errors :/ Kāds errors? Quote Link to comment Share on other sites More sharing options...
suport Posted January 15, 2010 Author Report Share Posted January 15, 2010 tas pats Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\zinas.php on line 124 Quote Link to comment Share on other sites More sharing options...
Val Posted January 15, 2010 Report Share Posted January 15, 2010 skat #31. rindiņu. mysql_query(...) or die(mysql_error()); Quote Link to comment Share on other sites More sharing options...
suport Posted January 15, 2010 Author Report Share Posted January 15, 2010 un kas tai 31 tur ir jatnem vai japieveino ? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted January 15, 2010 Report Share Posted January 15, 2010 galā jāpieliek tas, ko teica Val. Quote Link to comment Share on other sites More sharing options...
suport Posted January 15, 2010 Author Report Share Posted January 15, 2010 $result = mysql_query($sql) or die(mysql_error()); uzliku sita ta pat tas pats eerrors ! Quote Link to comment Share on other sites More sharing options...
Val Posted January 15, 2010 Report Share Posted January 15, 2010 nu tad tas kverijs neko neatgriež. pieliec pārbaudi uz rindiņu skaitu. Quote Link to comment Share on other sites More sharing options...
suport Posted January 15, 2010 Author Report Share Posted January 15, 2010 wtf :D esmu iesacejs es tak nezinu ka to var izdariit ! Quote Link to comment Share on other sites More sharing options...
Val Posted January 15, 2010 Report Share Posted January 15, 2010 viss atkarīgs, vai vēlies mācīties. http://php.net/manual/en/function.mysql-num-rows.php Quote Link to comment Share on other sites More sharing options...
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.