hey there,
i have a variable in php called $_SESSION[‘memberinfo’]. it is an array.
anyone know the syntax so i don’t have to store an array value into a temporary variable? for example instead of:
$username = $_SESSION[‘memberinfo’][4];
$query =
“SELECT * FROM members where username=’$username’”;
use this instead:
$query =
“SELECT * FROM members where username=’$_SESSION[memberinfo
][4]’”;
chris