PHP/MYSQL Help - unexpected T_VARIABLE -
I am trying to edit a profile page and I want the user to change the username and email address . I've been on this problem for some time and need your help. Pars error: syntax error, unexpected T_VARIABLE
$ edit $ mysql_query ("user update (user name, email address) value ('. $ Newusername.' '. $ Newemail.' ') Where user id = "$ _ session [' UserID ']" ");
You can remember some point around $ _ session ['UserID']
$ edit = mysql_query ("User update (user name, email address) value ('. $ Newusername.' ',' '. $ Newemail."' ) Where user id = ". $ _SESSION ['UserID']);
Comments
Post a Comment