Re: [nyphp-talk] PHP Dynamic GET Variables , Do they exist?

2010-04-30 Thread Jeremy Hise
I did your example, followed by: Test (my test page is called test.php) And it worked. The first thing I would do would be: print(nl2br(print_r($_GET, true))); And see what is actually stored in the $_GET array. > Anthony Wlodarski wrote: >> I don't think it is the version of PHP you are

Re: [nyphp-talk] PHP Dynamic GET Variables , Do they exist?

2010-04-30 Thread CED
Anthony Wlodarski wrote: I don't think it is the version of PHP you are using for example from my box: anth...@anthony-desktop:~$ php -v PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:41:56) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1

Re: [nyphp-talk] PHP Dynamic GET Variables , Do they exist?

2010-04-30 Thread Anthony Wlodarski
I don't think it is the version of PHP you are using for example from my box: anth...@anthony-desktop:~$ php -v PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:41:56) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies a

Re: [nyphp-talk] PHP Dynamic GET Variables , Do they exist?

2010-04-30 Thread CED
Chris Snyder wrote: On Fri, Apr 30, 2010 at 7:24 PM, CED wrote: What am I doing wrong? (this is obviously for demonstration purposes only, the actually variables have need for being stored in the manner that they are) -Ed Sample code works for me, php 5.3.2. ___

Re: [nyphp-talk] PHP Dynamic GET Variables , Do they exist?

2010-04-30 Thread Chris Snyder
On Fri, Apr 30, 2010 at 7:24 PM, CED wrote: > //GIVEN a page that is called with: > //    $_GET['abc'] = 'def'; > //CODED with: >   $dynamic_vars['a']['b'] = 'abc'; > >   // NO WORKY >   echo $_GET[ $dynamic_vars['a']['b'] ] ; > >   // NO WORKY > >   if(isset($_GET[ $dynamic_vars['a']['b'] ])){ >

[nyphp-talk] PHP Dynamic GET Variables , Do they exist?

2010-04-30 Thread CED
What am I doing wrong? (this is obviously for demonstration purposes only, the actually variables have need for being stored in the manner that they are) -Ed ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/li