Hola Quim:
Graqcias por acudir en mi auxilio

. En cuanto a los apóstrofes en otros querys (INSERT) los tengo y alli no dice nada.
He hecho el echo y me devuelve:
Cita: Update usuarios set `idPER`= '13' Where `idPrimaryUSER`= '4'
y además:
Cita: Error in query Update USER. 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 '1' at line 1
Las variables son correctas ¿Te sugiere algo? sigo investigand

o