Error sql: UPDATE sesion SET codtvenvivo = 29, urlvideo = 'mms://losandestvjp22.dyndns.tv/tvenvivo1?TOKEN=bc9l24l4a0i77hf0lsrhesl1v0' WHERE activa='S' AND codsesion= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1