I'm writing an app to grab pictures from social networks. How can I add make sure that when the user clicks the links, the output (which consists of the grabbed pictures) is displayed in the same page?
I wrote separate php files for each of them, and they all go to separate pages. I want to put them on the same page. How can I run the php files in the same page?
<a href="#" class="show_hide" rel="#slidingDiv">View</a>
<br />
<div id="slidingDiv">
<a href="/Gravatar/gravindex.php">Gravatar</a>
</div>
$.ajax(), $.get(), .load()from jquery, whichever suits you. or you can use<?php incude() ?>, includeOnce, requireOnce etc.