Hiya Gurus!
I have a PhP program which works like a charm, but there's only one drawback! :mad:
In the program I am creating a HTML page with a table and content. This table has so many rows and so many columns. The last column contains the next code: <?php echo "<a href='wijzig.php?$nawnr' "; ?>OnMouseOver='window.status=""; return true'>Wijzigen</a>
Please find below a bigger part of the code, so you will understand the context of my question:
<table class="TableAttr" align="center">
<tr valign="top" class="RowOdd">
<td width="66%"><b>Naam</b></td>
<td width="12%"><b>Postcode</b></td>
<td width="12%"><b>Huisnr</b></td>
<td width="10%"> </td>
</tr>
</table>
<?php
while ($regel = mysql_fetch_array($Lijst)):
$nawnr = $regel['volgnummer'];
$achternaam = $regel['achternaam'];
$voorletters = $regel['voorletters'];
$tussenvgsls = $regel['tussenvoegsel'];
$postcode = $regel['NAWpostcode'];
$huisnummer = $regel['huisnummer'];
?>
<table class="TableAttr" align="center">
<tr valign="top">
<td width="66%" class="RowEven"><?php echo $achternaam.", ".$voorletters." ".$tussenvgsls; ?></td>
<td width="12%""><?php echo $postcode; ?></td>
<td width="12%" class="RowEven"><?php echo $huisnummer; ?></td>
<td width="10%">
<center>
<?php echo "<a href='wijzig.php?$nawnr' "; ?>OnMouseOver='window.status=""; return true'>Wijzigen</a>
</center>
</td>
</tr>
</table>
<?php
endwhile;
mysql_close();
?>
What should I do on the "wijzig.php" page to be able to receive the passed argument after the question mark?
Thanks a million for your wise answers!