Re: Strings??
| From: | April | Date: | Tue, 16 Jan 2001 22:44:26 +0000 |
| Subject: | Re: Strings?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34911@lists.php.net to get a copy of this message | ||
PHP automatically makes values submitted in a form available to the next
page. aka:
form.htm would be:
<form action="php.php">
<input type="text" name="Field" value="Field Value">
<input type="submit">
</form>
and then in php.php the variable $Field would hold "Field Value" wihtout you
having to do anything.
So, if php.php were:
<?
echo "Field: $Field"
?>
would print Field: Field Value
And I might have done that wrong, I've been doing stuff in ASP the last two
weeks and I can't seem to keep them straight anymore.
April
----- Original Message -----
From: "Benjamin Munoz" <bmunoz@ivtweb.com>
To: <Website4S@aol.com>; <php-general@lists.php.net>
Sent: Tuesday, January 16, 2001 4:43 PM
Subject: RE: [PHP] Strings??
> Ade,
>
> What kind of string? What do you want to do with them?
>
> -Ben
>
> -----Original Message-----
> From: Website4S@aol.com [mailto:Website4S@aol.com]
> Sent: Tuesday, January 16, 2001 2:18 PM
> To: php-general@lists.php.net
> Subject: [PHP] Strings??
>
>
> Quick Question.
>
> I have a form which has 10 fields, is there any way in PHP to take the
> values
> once submitted and create a string for each??
>
> Thanks
> Ade
>
> --
> 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
>
> --
> 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
>