Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: Parse error

  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    United States
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Parse error

    Plz help
    parse error:
    $query = "INSERT authorize(username,password,accesslevel,hp,fire,summon,potion,ice,email,id) VALUES ('" . $uname . "','" . crypt($pword,$this->salt) . "', '". 1000 . "', '". 10 . "', '". 2 . "', '". 6 . "' , '". 5 . "','". 0 ."' , "' . $email ."','" . $randval . "')";

  • #2
    New Coder
    Join Date
    Jul 2002
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    $query = "INSERT authorize(username,password,accesslevel,hp,fire,su
    mmon,potion,ice,email,id) VALUES ('" . $uname . "','" . crypt($pword,$this->salt) . "', '". 1000 . "', '". 10 . "', '". 2 . "', '". 6 . "' , '". 5 . "','". 0 ."' , "' . $email ."','" . $randval . "');"

  • #3
    New Coder
    Join Date
    Jun 2002
    Location
    United States
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    still getting a parse error

  • #4
    New Coder
    Join Date
    Jul 2002
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    $query = "INSERT authorize username,password,accesslevel,hp,fire,summon,potion,ice,email,id) VALUES ('" . $uname . "','" . crypt($pword,$this->salt) . "', '". 1000 . "', '" . 10 . "', '" . 2 . "', '" . 6 . "', '" . 5 . "','" . 0 . "' , '" . $email ."','" . $randval . "');"

  • #5
    New Coder
    Join Date
    Jun 2002
    Location
    United States
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    one more thing ..
    what is the mysql query to create a new row in a table

  • #6
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    That's what INSERT does.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #7
    New Coder
    Join Date
    Jul 2002
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yep


  •  

    Posting Permissions

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