On Thu, 21 Mar 2002, David Johansen wrote: > I was just wondering if there's a way to use echo with session variables. > When I try to do this: > > <?php > if (isset($_SESSION['x_Email'])) > echo "value=\"$_SESSION['x_Email']\""; > ?>
The issue is with the syntax you're using to refer to arrays within double quotes. echo "value=\"{$_SESSION[x_Email]}\""; miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php