Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][MYSQL]Zmiena hasła :S
Kenexos
post
Post #1





Grupa: Zablokowani
Postów: 60
Pomógł: 0
Dołączył: 6.08.2008
Skąd: Gdynia

Ostrzeżenie: (20%)
X----


TEMAT DO ZAMKNIĘCIA!!
Dzięki phpion i kaem sobie poradziłem.

Ten post edytował Kenexos 6.08.2008, 17:10:01
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Kenexos
post
Post #2





Grupa: Zablokowani
Postów: 60
Pomógł: 0
Dołączył: 6.08.2008
Skąd: Gdynia

Ostrzeżenie: (20%)
X----


No dobra teraz mam taki błąd:
Could not Change password! You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''test' LIMIT 1' at line 1


@edit
Możliwe że jest coś źle tera w :
$query = mysql_query("UPDATE `user` SET `haslo` = md5('$new') WHERE `user`.'$username' LIMIT 1") or die("Could not Change password! ".mysql_error());

Ten post edytował Kenexos 6.08.2008, 17:03:47
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 16.10.2025 - 02:52