php code not interpreted with an ajax call

php code not interpreted with an ajax call

Hi,
 
When I try this line on a local server or any ajax call (ajax, get, post)
  1. $('#requestcontent').load('text.php');
 
the php code is not interpreted. Only HTML code is visible.

text.php :


  1.  <h1>Title</h1>
  2. <?php
  3. echo 'Text';
  4. ?>
In this case only <h1>Title</h1> is in #requestcontent div.


Of course my server is active :)


If anyone already found the solution.





 
Thanx
 
Laurent