[insert_php]

// php url
$phpURL = “http://legacy2016.lcc.org/wp-content/Legacy_Scripts/media/getSermons_div.php”;

//get series title
$SeriesTitle = $_REQUEST[“series”];
$phpURL=$phpURL.”?series=”.urlencode($SeriesTitle);

// create curl resource
$ch = curl_init();

// set url
curl_setopt($ch, CURLOPT_URL, $phpURL);

//return the transfer as a string
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

// $output contains the output string
$output = curl_exec($ch);

echo $output;

// close curl resource to free up system resources
curl_close($ch);
[/insert_php]

PAST SERMON SERIES