![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/02/2006, 21:38
|
|
"UPDATE news SET title=%s, summary=%s, text=%s, author=%s, organization=%s, $nombre=%s, $contenido=%s, $tipo=%s WHERE id=%s",
parece ser que ni $nombre ni $contenido ni $tipo están definidas, quizás el código deba ser
"UPDATE news SET title=%s, summary=%s, text=%s, author=%s, organization=%s, nombre=%s, contenido=%s, tipo=%s WHERE id=%s",
y si no es así, asegurate que esas variables estén definidas al momento de crear esta consulta.
Saludos. |