<?php
include "./include/db.inc.php";
include "./include/function.php";
connect_DB( );
$sql1 = ("SELECT jobDate ,
YEAR(jobdate) AS YearName
FROM job_all WHERE jobDate !='0000-00-00' GROUP BY YEAR(jobdate) ;");
$sql2= ("SELECT jobDate ,
MONTH(jobDate) AS MonName
FROM job_all WHERE jobDate !='0000-00-00' GROUP BY MONTH(jobDate);");
$sqltopic = ("SELECT jobTopic,jobDate,jobLocate FROM job_all WHERE jobDate LIKE '%".$dateInfo."%' AND jobType LIKE '%".$typeInfo."%'
AND jobLocate LIKE '%".$locateInfo."%' ORDER BY jobDate DESC ");
var url = 'AjaxPHPContent2.php';
var varYear=document.getElementsById("shwYear");
var varMonth=document.getElementsById("shwmonth");
var varType=document.getElementsById("shwType");
var varLocate=document.getElementsById("shwLocate");
var pmeters = "shwYear"+varYear "shwMonth"+varMonth "shwType"+varType "shwLocate"+varLocate;