Jump to content

[SOLVED] Error


mcmuney

Recommended Posts

What's wrong with line 4 below?

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/p/i/c/pickaloo/html/webprrank/test.php on line 4

 

<?php 
$zapytanie="SELECT COUNT(*) FROM catch WHERE url='$url'";
$wynik = mysql_query ("$zapytanie") or ("blad w pytaniu");
while ($rekord = mysql_fetch_array ($wynik))
{
$liczba=$rekord[0];
}
?> 

Link to comment
https://forums.phpfreaks.com/topic/86761-solved-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.