Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17062

Re: How to know the last arg in a series

From bill <william@TechServSys.com>
Newsgroups comp.lang.php
Subject Re: How to know the last arg in a series
Date 2016-09-19 07:05 -0400
Organization Aioe.org NNTP Server
Message-ID <nrogpo$bql$2@gioia.aioe.org> (permalink)
References <1b8fa718-fcde-4e92-9ad3-cc69e41f5a0b@googlegroups.com>

Show all headers | View raw


On 9/19/2016 2:51 AM, bit-naughty@hotmail.com wrote:
> If I have a page where there are args like "arg1=2&arg2=93&arg3=112", and

so on, but there is No Limit to how many "arg"s

there can be, how do I find out which one the last arg is ("arg3" 
in the above case)?
>
>
> Thanks.
>
the answer depends on why you want to know what the last arg is.
If you want to know so you can extract data, foreach will do it 
automagically
-bill

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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