NYCPHP Meetup

NYPHP.org

[nycphp-talk] accessing $_SESSION elements

Scott Mattocks crisscott at netzero.com
Fri Oct 24 12:26:11 EDT 2003



Aaron Fischer wrote:

> $begin=1;
> if(isset($_SESSION['$begin_fair_name']))
> {
>   echo "success";
> }

Try:
$begin=1;
  if(isset($_SESSION[$begin . '_fair_name']))
  {
    echo "success";
  }

Scott Mattocks




More information about the talk mailing list