Jump to content
  • 0

Problema sistem de inregistrare(query-baza de date)


Yugao

Question

3 answers to this question

Recommended Posts

Tot nu merge la ondialogresponse am pus asa:

[pawn]

if ( dialogid == DIALOG_EMAIL )

    {

      if ( !response || isnull(inputtext ) ) return ShowPlayerDialog(playerid,DIALOG_EMAIL,DIALOG_STYLE_INPUT,"Email","Scrie aici email-ul tau","O.K.","");

  new

          Query [  256  ]

      ;

      format ( Query , sizeof ( Query ) , "UPDATE `Jucatori` SET `Email` = '%s' WHERE `Nume` = '%s", DB_Escape ( inputtext ), P_DATA [ playerid ] [ Nume ] ) ;

      db_free_result ( db_query ( Accounts , Query ) ) ;

      SPD ( playerid , DIALOG_REGISTER , DIALOG_STYLE_PASSWORD , "Inregistreaza-te" , "Introduceti o parola pentru a va inregistra:" , "Register" , "" );

      return ( 1 ) ;

    }

[/pawn]

Xtremeknight-Genesis.png

Link to comment
Share on other sites

Guest
This topic is now 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. For more details you can also review our Terms of Use and Privacy Policy.