views_embed_view - how to pass views argument ?
Posted by WuffWuff on December 8, 2008 at 10:53pm
I am working with Drupal 6.6 and the new views 2 module. I am trying to output a view after executing some PHP code. My site has a form that enables visitors to search nodes - a company and a program node. One company can have many programs so I have used the node reference function to create a mini relational database. An example of a search might be to choose all programs that are in Argentina, are under $1000 and last 5 weeks. The php part that builds the sql works fine and the results of the query are Node IDs.
Read more