<?php
$Recordset2 = new WA_MySQLi_RS("Recordset2",$WoMa,0);
$Recordset2->setQuery("SELECT webmaandkalender.* FROM webmaandkalender WHERE maand = ?");
$Recordset2->bindParam("i", "".$Recordset1->getColumnVal("maand") ."", "-1"); //param
$Recordset2->execute();
?>
Thank you Ray for your input.
But with this query only the first record of recordset1 is shown.
In fact what I want is when the user selected a month (maand) from recordset1 the form value "selectmaand" is filled and based on the value of "selectmaand" the data from recordset2 is to be loaded.
My old page in PHP 5.4 can be viewed in http://www.dezulle.be/Maandkalender.php.
Thank in advance.