Re: how to combine the results of two variables to echo another variable?
- From: "Philip Olson" <philipolson@xxxxxxxxx>
- Date: 28 Apr 2005 16:27:07 -0700
Or simply use arrays instead (preferred by most):
<form method="POST">
<input type=text name="field[]">
<input type=text name="field[]">
<input type=text name="field[foo]">
<input type=submit>
</form>
foreach ($_POST['field'] as $key => $value) {
...
}
http://php.net/manual/en/faq.html.php#faq.html.arrays
.
- Follow-Ups:
- References:
- how to combine the results of two variables to echo another variable?
- From: Dave
- Re: how to combine the results of two variables to echo another variable?
- From: Sacs
- Re: how to combine the results of two variables to echo another variable?
- From: Ewoud Dronkert
- Re: how to combine the results of two variables to echo another variable?
- From: Sacs
- how to combine the results of two variables to echo another variable?
- Prev by Date: Re: how to combine the results of two variables to echo another variable?
- Next by Date: Re: how to combine the results of two variables to echo another variable?
- Previous by thread: Re: how to combine the results of two variables to echo another variable?
- Next by thread: Re: how to combine the results of two variables to echo another variable?
- Index(es):