Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default MySQL Query Help

    I am making a staff profile system. i have the view profile with information i inserted witnin database. I made a script so you can edit it with a form but how do you insert it into that user.

    My user table is called staff and the field with the usernames is called username
    This is my current query
    Code:
    $edit = mysql_query("UPDATE `staff` ( `habboname`, `forumname`, `age`, `hotel`, `gender`, `favouritesong`, `favouritegenre, `favmanagement`, `besthabbofriend`, `bestfriend`, `interests`, `about`) VALUES ('$habboname', '$forumname', '$age', '$hotel', '$gender', '$favouritesong', '$favouritegenre', '$favmanagement', '$besthabbofriend', '$bestfriend', '$interests', '$about')");
    Any Ideas?
    Last edited by Drompo; 21-01-2007 at 07:54 PM.


  2. #2
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    I worked it out


Posting Permissions

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