component.php
<script> jq142(document).ready( function() { new Paginator('<?php echo HOST_URL; ?>component_ajax.php'); }); </script> I need to pass the id from component.php file to component_ajax.php file. component_ajax.php will load on the component.php file.
component_ajax.php
$coid = $_GET['id']; $products = $productObj->getFrontProductsbyComponents( $coid ); Explain me to that how to pass id to $coid?