Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z "mysql_num_rows"
Vertical
post
Post #1





Grupa: Zarejestrowani
Postów: 848
Pomógł: 0
Dołączył: 7.07.2004
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


Napisałem w aplikacji:

$sql = "select from login where login = '$login'";
$result = mysql_query($sql);
$row_count = mysql_num_rows($result);

I interpreter wyświetla mi błąd: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\program\apache\htdocs\formularz\login.php3 on line 28".

Cóż niepoprawnego jest w tej linii kodu?
Proszę o pomoc...

Ten post edytował Vertical 15.07.2004, 14:06:37
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 08:09