Community

Setting the value of a PHP variable in the context of one view and using it within another view inside the same page..

In my front page I have 2 views:

a. is embedded using views_embed_view function inside a block at the top of the page

b. main view (in content area)

I simply want a PHP variable generated by view (a) to be evaluated inside the header area of view (b). My question is how to do that ?

Would PHP's global do the job ?