Location: PHPKode > scripts > Er. Rochak Chauhan > example.php
<?php
	/**
	 * Example file
	 */
	
	$paramNames = array('name', 'email', 'phone');
							
	$paramValues = array('Rochak Chauhan', 'hide@address.com', '100');
	
	require_once('ajax.inc.php');
	$ajax = new Ajax('displayResponse');
	/*
		// without parametes 
		$ajax->sendRequest('serverfile.php');
	*/
	$ajax->sendRequest('serverfile.php', $paramNames, $paramValues);
?>
<span id="displayResponse">No response...</span>
Return current item: Er. Rochak Chauhan