I've defined all the variables in the form, and have all the files..

<HTML>
<TITLE>Submit News</TITLE>
<BODY>
Your news has been processed and added to the main page.  Thanks!
<?
if($formSubmit) {
$newsSubmit = file("news.txt");
$fp = fopen("news.txt", 'a');
fwrite($fp, $frmName);
fclose($newsSubmit);
} else {
include ("newsForm.php");
}
?>
</BODY>
</HTML>

See any problems?  It won't dump $frmName onto the .txt file.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to