Hello, I've tried pasting in this code:

$postvars = array("abc", "def", "ghi");
foreach ($postvars as $var)
if(isset($_POST[$var]))
$$var = $_POST[$var];

...into my formmail script, replacing "abc", "def", "ghi" with "recipient", "subject", "content"

Unfortunately this does'nt seem to have worked. Have I implemented it right? I just put it into the scriptunder the header. The script still works for the html forms on my site, but not for the flash.

The script I'm using is the one available from http://www.dtheatre.com/scripts/

Any help would be much appreciated. I know nothing about php by the way.