Hi,
I have following problem.
In a form I have a control lsDocent. I want send the value to another page.
He send the second parameter 'code' but he send the string lsDocent to the
other page instead of the value of lsDocent.
What's wrong with this?
<form name="verwijder " action="vak_inf o.php?doc=lsDoc ent&&code=<?ech o
$code?>" method = "post">
<SELECT name="lsDocent" >
<?php
while ($line = mysql_fetch_arr ay($resultaat, MYSQL_ASSOC)) {
?>
<!--
genereren van lijst van docenten
-->
<OPTION selected value="<?print $line["Leraarscod e"];?>"><?print
$line["Familienaa m"];?> <?print " - "?> <?print
$line["Voornaam"];?></OPTION>
<?php
}
?>
</SELECT>
</td>
<td>
<input type = "submit" Value="OK">
</td>
</form>
</TR>
ALain
I have following problem.
In a form I have a control lsDocent. I want send the value to another page.
He send the second parameter 'code' but he send the string lsDocent to the
other page instead of the value of lsDocent.
What's wrong with this?
<form name="verwijder " action="vak_inf o.php?doc=lsDoc ent&&code=<?ech o
$code?>" method = "post">
<SELECT name="lsDocent" >
<?php
while ($line = mysql_fetch_arr ay($resultaat, MYSQL_ASSOC)) {
?>
<!--
genereren van lijst van docenten
-->
<OPTION selected value="<?print $line["Leraarscod e"];?>"><?print
$line["Familienaa m"];?> <?print " - "?> <?print
$line["Voornaam"];?></OPTION>
<?php
}
?>
</SELECT>
</td>
<td>
<input type = "submit" Value="OK">
</td>
</form>
</TR>
ALain
Comment