Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> php mysql błąd
mksdziegiel
post
Post #1





Grupa: Zarejestrowani
Postów: 28
Pomógł: 0
Dołączył: 19.01.2005

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


witam czy w tym skrypcie są błędy
  1. <?
  2. if(!$resend)
  3. {
  4. if($verify)
  5. {
  6. $vfy = mysql_fetch_array(mysql_query("SELECT nick, verified, pin, yourpimp FROM $table[playa] WHERE pin='$pin';"));
  7. if(($vfy[2]) && ($vfy[1] == no))
  8. {
  9.  
  10. mysql_query("UPDATE $table[playa] SET verified='yes' WHERE pin='$vfy[2]'");
  11. mysql_query("update playa set res=res+100 where nick='$vfy[3]'");
  12. echo"Your charactor <font id=thefont>$vfy[0]</font> has been verifyed.<br><br><font size=1>Click <a href=login$ext>here</a> to login.</font>";
  13. }elseif($vfy[1] == yes){ echo"You have already verified the character <font id=thefont>$vfy[0]</font>.";
  14. }else{ echo"<b>Invalid pin number.</b><br>To have it resent, click <a href=confirm$ext?resend=yes>here</a>."; }
  15. }else{echo"To confirm your character, please enter the pin number that was sent to you
    r e-mail.
  16. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 16:49