www.webdeveloper.com
Results 1 to 2 of 2

Thread: Update Syntax Error

  1. #1
    Join Date
    Jun 2009
    Posts
    26

    Update Syntax Error

    Hey,

    I ma having a syntax error with this mysql_query:

    PHP Code:
        $query "UPDATE user_profile SET gender='$gender',country='$country',fav_deck='$favdeck',like='$like',dislike='$dislike',aboutme='$aboutme',win_quote='$winquote' WHERE username='".$_SESSION['username']."'";
        
        
    mysql_query($query)or die(mysql_error()); 
    Everything seems fine, where is there error?

    Thanks,

  2. #2
    Join Date
    Jun 2009
    Posts
    26
    NVM, it is just that the "like" variable wasnt working properly.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles