Error sql: UPDATE sesion SET codtvenvivo = 1007, urlvideo = 'mms://losandestvjp24.dyndns.tv/tvenvivo15?TOKEN=nomf4bfb819lglb4sa11kipar1' 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