$seq=$_GET[‘id’];
i want to filter the data as per $seq value.
so want to set where condition in below statement…
staff=$seq;
How to include Where condition in the query?
[code] include ('db/scheduler_connector.php');
include ('db/config.php');
$seq=$_GET['seq'];
$res=mysql_connect($server, $user, $pass);
mysql_query("set names UTF8");
mysql_select_db($db_name);
$list = new OptionsConnector($res);
$list->render_table("TM_Staff","seq","seq(value),name(label)");
$scheduler = new schedulerConnector($res);
$scheduler->set_options("staff", $list);
$scheduler->render_table(“tevents”,“event_id”,“start_date,end_date,event_name,staff,site”);[/code]
$scheduler->render_table(“tevents”,“event_id”,“start_date,end_date,event_name,site,staff”);
thank you…