If I have a form that posts data to a view page, how do I go about setting the contextual filter in my view?
Here is sample code I tried running but it's not working:
$data = 'name=value&name1=value1';
$options = array(
'method' => 'POST',
'data' => $data,
'timeout' => 15,
'headers' => array('Content-Type' => 'application/x-www-form-urlencoded'),
);
drupal_http_request('http://www.mysite.com/companylist', $options)