Ver originalsprintf("INSERT INTO %s (%s) VALUES (%s)","TABLA",implode(',',$CAMPOS),'\''.implode("','",$DATOS).'\'');