I made a menu with Ajax and it dynamically changes the contents, so far so good, but the problem is that when I insert a PHP code on the page it does not recognize the code and it shows the writings, it appears this instead of executing the code . Anyone know what's going on ??
Note: before Ajax worked normally.
prepare("SELECT * FROM empresa");
$executa = $empresa->execute();
if($executa){
while($reg = $empresa->fetch(PDO::FETCH_OBJ)){
/* Para recuperar um ARRAY utilize PDO::FETCH_ASSOC */
?>
txt_empresa
?>
getMessage();
}
?>