php-general | 2001032
Date: 03/25/01
- Next message: Kristofer Widholm: "[PHP] Re: Text fading with PHP?"
- Previous message: marco trevisani: "[PHP] fopen with URL gives me a problem"
- Next in thread: Joe Brown: "Re: [PHP] [PHP4]"
- Reply: Joe Brown: "Re: [PHP] [PHP4]"
- Reply: Dddogbruce \( <email protected>\): "Re: [PHP] [PHP4]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Kristofer Widholm: "[PHP] Re: Text fading with PHP?"
- Previous message: marco trevisani: "[PHP] fopen with URL gives me a problem"
- Next in thread: Joe Brown: "Re: [PHP] [PHP4]"
- Reply: Joe Brown: "Re: [PHP] [PHP4]"
- Reply: Dddogbruce \( <email protected>\): "Re: [PHP] [PHP4]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

