ysakovs Posted December 25, 2009 Report Share Posted December 25, 2009 Vai kāds lūdzu varētu man palīdzēt ar šo erroru? Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/system32/public_html/includes/admin_test.php on line 1429 Šajā rindiņā atrodas: while($row=mysql_fetch_array($fields)){ Quote Link to comment Share on other sites More sharing options...
2easy Posted December 25, 2009 Report Share Posted December 25, 2009 (edited) visticamāk, ka jau pirms tam bija kļūda, izpildot sql. tāpēc tgd $fields ir false (šī vērtība izraisa pašreizējo kļūdas paziņojumu) kad kko dari ar db, tad dari apmēram tā $fields = mysql_query("...") or die(mysql_error()); Edited December 25, 2009 by 2easy Quote Link to comment Share on other sites More sharing options...
ysakovs Posted December 25, 2009 Author Report Share Posted December 25, 2009 visticamāk, ka jau pirms tam bija kļūda, izpildot sql. tāpēc tgd $fields ir false (šī vērtība izraisa pašreizējo kļūdas paziņojumu) kad kko dari ar db, tad dari apmēram tā $fields = mysql_query("...") or die(mysql_error()); Ko es varu dariit lai to noverstu? Quote Link to comment Share on other sites More sharing options...
2easy Posted December 25, 2009 Report Share Posted December 25, 2009 un kāds bija mysql_error()? 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.