MySQL Forums
Forum List  »  Newbie

Re: PHP Form Sends Incorrect Info?
Posted by: Thomas Ljungstrom
Date: August 25, 2004 06:57AM

Hi!
Having trouble understanding your problem but i think you want to know why everyone becomes User?

Well, if not please explaine againe...

In the begining of pro prev.txt you have a variable
$D_UserType = 'User';

and later your MySql:

$Add_User = "INSERT into UserList values ('0', '$User[Username]', '$User[Password]', '$User', '$User[SexType]', '$User[Age]', '$User[RealName]', '$User[Location]', '$User[Website]', '$User[AIM]', '$User[MSN]', '$User[ICQ]', '$User[Yahoo]', '$User[Hobbies]', '$User[Biography]', '$User[AvatarURL]', '$User[AvatarWIDTH]', '$User[AvatarHEIGHT]', '$D_UserType')"; Look at the last column thats set to User prev. //thomas

Options: ReplyQuote


Subject
Written By
Posted
August 24, 2004 01:56PM
Re: PHP Form Sends Incorrect Info?
August 25, 2004 06:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.