With register_globals off (as it should be), you access form values using $_POST or $_GET (depending on your form method). So if you want to get the value in the email field, for example, you would use $_POST['email'].

jackdirt wrote:FIrst thank you, but I should of prefaced by saying I barely know any PHP so in what instance on the script would $_POST or $GET_ go I tried replacing the $email, $notes field with it but I got

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in E:\websites\prototype\sendemail.php on line 47

Thanks Again

first: In last PHP version before you call some variable to you need declare it first. Like in C++ or Delfi.....
than you get this error: Undefined variable....
to you need firstly define this fariable......
second:
Parse error oyu get then you have a sintax error in function definition....
carefuly with quotes and what you set in function....
Good luck newbie :o)