AJAX/PHP Help

Discussion in 'Programming' started by leeora, Jul 14, 2010.

  1. #1
    I have a PHP page called Search.php that allows to search for cell phones for sale. When you arrive at the page you can see search criteria inputs to choose from. Once you make your selections you can click SEARCH on a JAVA SCRIPT button that triggers an AJAX call to the database at and populate the relevant records in a table on the page. What I want to do is to have the records be populate with Ajax on-page load but only on certain Link Paths /occasions, not always. Meaning if I place a link to this page on classifieds website I want records to be populate with Ajax on-page load, BUT if you arrive at the page directly or through my domain than I don't want it to be populated.
     
    leeora, Jul 14, 2010 IP