You could help us all by using <code></code> tags. Your print statments look a little crazy right now. Then \n will do the new line you dont need to include a newline in it as well.
$name = $subject; needs a my in front of it just like the declerations above it. You also need to uncomment the line that is printing the header.
In reply to Re: use variable as name for new file
by eric256
in thread use variable as name for new file
by Zcity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |