Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: reik pagalbos klaida!

Parašė remuxs· 2015 Gru. 15 18:12:33
#1

sveiki kodel man meta maincore.php :? klaida

Klaida: mysql_num_rows() expects parameter 1 to be resource, boolean given Eilutė: 268
Failas: mp3music.wu.lt/public_html/maincore.php Puslapyje: /downloads.php
Vartotojas-Lygis: 103 IP: 78.62.145.39
Data: December 22 2015 19:46:47 Statusas:

Į viršų
Išeities kodas (Eilutė: 258 - 278)
258
259 if (!$result) {
260 echo mysql_error();
261 return false;
262 } else {
263 return $result;
264 }
265 }
266
267 function dbrows($query) {
268 $result = @mysql_num_rows($query);
269 return $result;
270 }
271
272 function dbarray($query) {
273 $result = @mysql_fetch_assoc($query);
274 if (!$result) {
275 echo mysql_error();
276 return false;
277 } else {
278

Redagavo remuxs· 2015 Gru. 22 19:12:19