Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Dynamically change post query Re: Dynamically change post query

#67362
Bob
Member

What if you make the value of monthnum a variable, which is taken from a dropdown list or something like that?

Like this:



$monthvar = $_POST["month"];

query_posts("cat=3&monthnum=$monthvar&year=2011");

?>

I don’t really understand what you want though so I might be wrong here.