Re: Blah I'm Stupid
| From: | chris herring | Date: | Wed, 28 Mar 2001 05:01:19 +0000 |
| Subject: | Re: Blah I'm Stupid | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45823@lists.php.net to get a copy of this message | ||
how would you go about writing that data do a text file then?
----- Original Message -----
From: "David Robley" <huntsman@www.nisu.flinders.edu.au>
To: "chris herring" <chrisherring@subdimension.com>;
<php-general@lists.php.net>
Sent: Tuesday, March 27, 2001 10:19 PM
Subject: Re: [PHP] Blah I'm Stupid
> On Wed, 28 Mar 2001 13:44, chris herring wrote:
>
> > > I got a question here. How would you go about calling variables from a
> > form. I'm sure this is super-easy, but I'm a newbie. Any help would be
> > greatly appreciated.
>
> Just prefix the form object names with $
>
> Say you have a text box set up like so:
>
> <FORM ACTION=check.php METHOD=GET>
> <input type="text" name="avail" value="">
> <INPUT TYPE=SUBMIT>
> </FORM>
>
> and in check.php
>
> <?php echo $avail; ?>
>
> will show the value entered in the text box
>
> --
> David Robley | WEBMASTER & Mail List Admin
> RESEARCH CENTRE FOR INJURY STUDIES | Eèãªç
> FZïUû{*http://www.nisu.flinders.edu.au/
> AusEinet |
> http://auseinet.flinders.edu.au/
> Flinders University, ADELAIDE, SOUTH AUSTRALIA
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net