
CPU i5 3570 @ 4.2 GHz | Mobo GigaByte Z77D3H | RAM 8GB | GPU AMD Radeon 6870 | OS Win 8 64-bit | HD 1TB HD and 128GB SSD | Wheel Logitech G27
Also IMole, you'll need to delete the following in your edit user page;
You need to delete the two things that are in bold (the second one can be found if you scroll to the right), so the page does not try to enter the data into the DB.Code:$email = htmlspecialchars($_POST[email]); $aim = htmlspecialchars($_POST[aim]); $msn = htmlspecialchars($_POST[msn]); $picture = htmlspecialchars($_POST[picture]); $locate = htmlspecialchars($_POST[locate]); $level = htmlspecialchars($_POST[level]); $habboname = htmlspecialchars($_POST[habboname]); $hotels = htmlspecialchars($_POST[hotels]); $homepage = htmlspecialchars($_POST[homepage]); $chat = htmlspecialchars($_POST[chat]); $fav_food = htmlspecialchars($_POST[fav_food]); $best_habbo = htmlspecialchars($_POST[best_habbo]); $occupation = htmlspecialchars($_POST[occupation]); $gender = htmlspecialchars($_POST[gender]); $fav_color = htmlspecialchars($_POST[fav_color]); $mission = htmlspecialchars($_POST[mission]); // the above lines get rid of all html. echo ("Your profile has been updated!"); $update = mysql_query("Update users set email = '$email', msn = '$msn', aim = '$aim', picture = '$picture', location = '$locate', habboname = '$habboname', homepage = '$homepage', hotels = '$hotels', fav_food = '$fav_food', best_habbo = '$best_habbo', occupation = '$occupation', gender = '$gender', fav_color = '$fav_color', level = '$level', chat = '$chat', mission = '$mission' where username = '$_GET[user]'") or die ('Error during the execution of the MySQL query : ' . mysql_error());
Last edited by PappaLou; 05-08-2007 at 12:25 AM.
No she does not need to remove that because she has added the sql text for it. Read my posts.
He* Lol but anyway thanks for sticking up for me lily, I am not "New" I've been on this forum for ages but on different names, I've been on many other forums to know when people are posting a little of rubbish or not. I do not like to be flamed this a post for help not a post for people saying that system is crap.
At first I deleted the missions it worked but then I re-added once lily told me how to add missions on SQL.
PS. +Rep to those who helped, -rep for those who didn't.
EDIT: Actually, you can't post how you like, you have to follow forum rules noob and one last thing, I never told you to shut up, I was just telling you not to post if it wasn't anything to do with post aka spamming.
Last edited by IMole; 05-08-2007 at 08:24 PM.
Your rep power is 0.
Anyway, stop posting new threads, theres already loads of them. Post them in 1 thread, its annoying.
Well sorry if when I search for the thread it comes out with 100 pages and I get about through 20 and get bored of looking.
Oweing !Lily some rep
Post them in one when I find different problems to post at different times? Ok then....
MOD Close thread please problem sorted and this'll probably turn into an arguement.
Oweing !Lily some rep
Lmao your rude, now mine turn to be rude to you
Shutup Metro who cares if the guy is new doesn't mean you have to treat them as **** because there new.
from now on do you want me to treat you as **** as well you *****.
Want to hide these adverts? Register an account for free!