Re: how to combine the results of two variables to echo another variable?
- From: Sacs <alan_nospam_@xxxxxxxxx>
- Date: Fri, 29 Apr 2005 11:36:41 +1200
Philip Olson wrote:
Where's the fun in that! My way was much harder to comprehend, must be perl haunting me....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
Actually, never thought of passing back an array in a form... hmmm....
:-) Sacs .
- 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
- Re: how to combine the results of two variables to echo another variable?
- From: Philip Olson
- 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: OT: PostgreSQL
- 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):
Relevant Pages
|