You are here: Re: why doesnt this work? « All PHP « IT news, forums, messages
Re: why doesnt this work?

Posted by Simon on 12/18/05 20:31

what doesn't work with it. A clue would be useful such as an error or
something.


"shockwavedude" <meddziner@yahoo.com> wrote in message
news:1134928798.977604.71610@g14g2000cwa.googlegroups.com...
> <body><form action="welcome2.php" method="post">
> Enter your name:
> <input name="name" type="text"/>
> Enter your age:
> <input name="age" type="text" />
> <input name="submit" type="submit" />
> </form>
> <?php
> $a = $_POST["name"];
> $b = $_POST["age"];
> $entry_line = " Name: $a, AGE: $b";
> $fp = fopen("test.txt", "a");
> fputs($fp,$entry_line);
> fclose($fp);
> ?>
> </body>
> </html>
>

 

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

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