You are here: Re: saving data from a form into a seperate .html file « PHP Programming Language « IT news, forums, messages
Re: saving data from a form into a seperate .html file

Posted by Brian on 10/26/19 11:33

ok that worked i changed the code a little bit, now I'm getting an
error like this:
Fatal error: Function name must be a string in
/usr/local/www/billcalculation.php on line 36

$fp = fopen($_POST['month'] . ".html","a+");
$fwrite ($fp, $data);
fclose($fp);

$data = print "Apartment: $apartment_rent"; //want it to print that to
the new .html file.
thats what I have, why am I getting this error?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация