if(isset($_REQUEST[‘speaker’]) && $_REQUEST[‘speaker’] != “”)
{
echo “Bayans by Speaker “. ucfirst($_REQUEST[‘speaker’]);
}
if(isset($_REQUEST[‘cat’]) && $_REQUEST[‘cat’] != “”)
{
echo “Bayans about “. ucfirst($_REQUEST[‘cat’]);
}
?>

global $wpdb;

if(isset($_REQUEST[‘speaker’]) && $_REQUEST[‘speaker’] != “”)
{
$querystr = “select * from lectures left join wp_faq_build_category on lectures.lecture_category = wp_faq_build_category.category_id where lectures.lecture_speaker = ‘”.$_REQUEST[‘speaker’].”‘ “;

}elseif(isset($_REQUEST[‘cat’]) && $_REQUEST[‘cat’] != “”)
{
$querystr = “select * from lectures left join wp_faq_build_category on lectures.lecture_category = wp_faq_build_category.category_id where wp_faq_build_category.name= ‘”.$_REQUEST[‘cat’].”‘”;
}elseif(($_REQUEST[‘cat’]!= “”) && ($_REQUEST[‘cat’] != “”))
{
$querystr = “select * from lectures left join wp_faq_build_category on lectures.lecture_category = wp_faq_build_category.category_id where wp_faq_build_category.name= ‘”.$_REQUEST[‘cat’].”‘ AND lectures.lecture_speaker = ‘”.$_REQUEST[‘speaker’].”‘ “;
}else{

$querystr = “select * from lectures left join wp_faq_build_category on lectures.lecture_category = wp_faq_build_category.category_id “;
}
$lectures = $wpdb->get_results($querystr, OBJECT);
?>


?>

 


Not Found

Sorry, but you are looking for something that isn’t here.


Bayans Filter By Speakers
  • No Records Found

Bayans Filter By Category

Subscribe Newsletter

Add Question
Name *
Email *
Website
State/Province
  Yes, display my name and location as the submitter of this question (including a link to my site).
Category *
Question *
   I can't read the text, please reset it.
  Powered by FAQ Builder
* required