Multi-dimensional array in php
- by pundit
Hi all,
I would like to create a multi-dimensional array with two variables but don't know how.
This is what i have so far;
$_SESSION['name'][] = $row_subject['name'];
$_SESSION['history'][]= $_SERVER['REQUEST_URI'];
I wanted to know if this is possible?
$_SESSION['name'][] = $row_subject['name'],$_SERVER['REQUEST_URI'];
i want to get the name of a programme which is generated via a data base and also to retrieve the url. What i am actually doing once the name is retrieve, i want to make that a link which the url would be necessary.
any help would be appreciated.
Thanks