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

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -