$sql2="insert into logadm_$id VALUES (null,'".addcslashes($sql,"'")."',now())";$res= mysql_query($sql2, Conectar::con());