Spot the PHP mySQL syntax error -


I get an error on line 50 that an unexpected ';' In my code

  if (mysql_num_rows ($ result) & gt; {mysqli_query ($ con, "UPDATE COOL_USERS SET COUNT = COUNT + 1 WHERE USERNAME = '" .mysql_real_escape_string ($ user) "." }   

The line is WHERE USERNAME ... line can anyone see it?

{Mysqli_query ($ con, "UPDATE COOL_USERS SET COUNT = COUNT + 1 WHERE USERNAME = '" .mysql_real_escape_string ($ user). "'"); }

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -