Troy,
That code all looks correct... if you want to pass the product ID too, you can do it the way you are doing it (although I would take the space out as spaces are not standard for html) or define a second variable in the URL.
If you chose to define a second variable, you could do it with the "&" sign...
so your link would like this, now:
<a href="contact.php?subject=<?php echo(urlencode($row_rsProducts['productname'])); ?>&id=<?php echo(urlencode($row_rsProducts['productnumber'])); ?> ">
Inquire about this product</a>
You could concatenate the two and add a label to the product ID in the subject field like this:
<?php
if ($_GET['subject']) {
$formsubject = $_GET['subject'].' - Product ID number:'.$_GET['id'] ;
} else {
$formsubject = "" ;
}
?>
Now the subject will look this:
Subject: Your Subject - Product ID number: 35