How to include php file using jQuery?
I have a div:
<div id="content"></div>
and I want to include inside a PHP file using jQuery.
I am trying with this but not working:
var about_me = "<?php include('php/about_me.php') ?>"
$('$content').click(function(){
$('#content').text(about_me);
});
Does this return me PHP code as a string?
+5