<?php
//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'] ])){
      echo $_GET[ $dynamic_vars['a']['b'] ] ;
   }
?>

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/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to