How to pass argument from one view to another view? I have filter  in separate view and want to pass the value to another view and get the filter result in Drupal.

Scenario: I have two views, one for filter and another for filter result.

I want to filter based the content: title. In another view I have to fetch the result and display based on title filter.

My question: How can I argument from one view to another view?
Here is how you can do it programmatically:

// load and display view A
$view_A = views_get_view('view_A_name');
// execute view
$view_A-&gt;execute();
// get all nids from the result 
foreach ($view_A-&gt;result as $result) {
   // capture the result of your field in an array. 
   $values[] = $result-&gt;field_machine_name; 
}
// render view
print $view_A-&gt;render();

// now load view B
$view_B = views_get_view('view_B_name');
// set arguments for view
$view_B-&gt;set_arguments(array(implode(",", $values)));
// execute view
$view_B-&gt;execute();
// render view
print $view_B-&gt;render();