Why return will not work but echo does in this jquery with php script
<p>In this script, using php's return will not work, whereas echo will. Thing is, if I use echo, and someone where to access the page directly, they would be able to see the output without the formatting.</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(function() {

    $('.callAppend').click(function() {
             $.ajax({
                type: 'GET',
                url:  'recent.php',
                dataType:'HTML',
                cache:false,

                success: function(data){
                console.log(data);

                //}       

              },

            });    

        return false;
    });
});
&lt;/script&gt;
</code></pre>

<p>This the php script</p>

<pre><code>&lt;?php
$feedback = 'Hello this is the php page';

return $feedback; //Use echo, and all works fine.
?&gt;
</code></pre>
