I only have a surface knowledge of php so I am hoping that this is a simple problem.
I have a mail() function that sends me mail but it is not picking up the variables for subject, message, or other headers. mail shows up but everything is blank. My script and form look like this:
<?php
<?php
$name = $REQUEST ['sendName'] ;
$address = $REQUEST ['sendAddress'] ;
$subject = $REQUEST ['subject'] ;
$message = $REQUEST [ 'message' ] ;
mail( "jimndeb@u.washington.edu",
$subject, $message, "From: $name <$address>" );
header ( "location:
[url]http://www.littlea.info/thanks.htm[/url]" );
?>
<table>
<tr>
<td>Who are you?</td>
<td><input name="sendName" type="text"></td>
</tr>
<tr>
<td>What's your email Adress?</td>
<td width="180"><input name="sendAddress" type="text"</td>
</tr>
<tr>
<td>What is this in reference too?</td>
<td><input name="subject" type="text"></td>
</tr>
<tr>
<td colspan="2"><textarea name="message" cols="50" rows="10"></textarea></td>
</tr>
<tr>
<td colspan="2">
<input name="Submit" type="submit" value="Send">
</td>
</tr>
</table>
Thanks for any advice or for pointing me to a tutorial that is better than my $%#$%#$%book.
pairus