Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

[PHP] [PHP4] From: Dddogbruce \( <email protected>\) (\( <email protected>\))
Date: 03/25/01

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: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>