Results 1 to 10 of 40

Thread: Probelm with MySQL register.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    WTF? Izno..
    PHP Code:
    if(param==true)
    {
    /*...*/
    if(param==false)
    {
    /*...*/
    }
    /*...*/

    Try:
    PHP Code:
    case "register":
    {        
        if(
    args[2].size >= && args[2].size <= 20)
        {
            if(
    args[3].size >= && args[3].size <= 25)
            {
                
    haslogin searchforlogin(args[2]);
                  if(
    haslogin)
                     
    self iprintlnbold("Login taked!");    
                  else
                     if(!
    haslogin)
                     {
                     
    self iprintlnbold("Login no register!");            
                     
    createadmin(args[2], args[3]);
                     }
            }
            else
            
    self thread tellmessage("Password is too short or too long. Min 5 characters, max 25.");
        }
        else
        
    self thread tellMessage("Login is too short or too long. Min 3 characters, max 20.");
    return;

    Last edited by maxdamage99; 24th July 2016 at 09:21.
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  2. The Following User Says Thank You to maxdamage99 For This Useful Post:

    nightbot (24th July 2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •