I have a simple section in which I am displaying data from the database , in my database I have two tables which shares \'sid` (session id); my tables looks like this.
Use POST instead of GET in AJAX request.
$firstDate= $_POST['firstdatepicker']; $lastDate= $_POST['lastdatepicker'];