Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17064
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.php |
| Subject | Re: How to know the last arg in a series |
| Date | Mon, 19 Sep 2016 14:10:48 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 18 |
| Message-ID | <87poo0hw6f.fsf@bsb.me.uk> (permalink) |
| References | <1b8fa718-fcde-4e92-9ad3-cc69e41f5a0b@googlegroups.com> <nromm0$bg8$1@jstuckle.eternal-september.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="14193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QBlGiF5Vb7I41lLbk/CnmSmco7XgDxcY=" |
| Cancel-Lock | sha1:deX2lz8ER4pPc8llIUxrU1vSeyI= sha1:gyQE43H3XRCENUW7Orpjw4pwQm8= |
| X-BSB-Auth | 1.c5c4078e4b1ef5f1002c.20160919141048BST.87poo0hw6f.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.php:17064 |
Show key headers only | View raw
Jerry Stuckle <jstucklex@attglobal.net> writes: <snip> > However, since these seem to be related, a better way could be something > like > > <input type="text" name="arg[]" ...> > <input type="text" name="arg[]" ...> > > This will create the array $_GET[arg[0]], GET[arg[1]], etc. and you can > easily use the array functions to get the size and process the > members. Something's gone wrong with that syntax. $_GET['arg'] will be an array, so you can access $_GET['arg'][0], $_GET['arg'][1] and so on, or, as you say, use other array operations on the value of $_GET['arg']. -- Ben.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to know the last arg in a series bit-naughty@hotmail.com - 2016-09-18 23:51 -0700
Re: How to know the last arg in a series "R.Wieser" <address@not.available> - 2016-09-19 10:00 +0200
Re: How to know the last arg in a series bit-naughty@hotmail.com - 2016-09-21 23:54 -0700
Re: How to know the last arg in a series "R.Wieser" <address@not.available> - 2016-09-22 09:03 +0200
Re: How to know the last arg in a series bill <william@TechServSys.com> - 2016-09-19 07:05 -0400
Re: How to know the last arg in a series Jerry Stuckle <jstucklex@attglobal.net> - 2016-09-19 08:45 -0400
Re: How to know the last arg in a series Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-09-19 14:10 +0100
Re: How to know the last arg in a series Jerry Stuckle <jstucklex@attglobal.net> - 2016-09-19 10:55 -0400
Re: How to know the last arg in a series "J.O. Aho" <user@example.net> - 2016-09-19 18:53 +0200
Re: How to know the last arg in a series Arno Welzel <usenet@arnowelzel.de> - 2016-09-19 21:38 +0200
Re: How to know the last arg in a series bit-naughty@hotmail.com - 2016-09-22 00:02 -0700
Re: How to know the last arg in a series Luuk <luuk@invalid.lan> - 2016-09-22 17:07 +0200
Re: How to know the last arg in a series Luuk <luuk@invalid.lan> - 2016-09-22 17:08 +0200
csiph-web