object of type Session as array error in php

Joined
Jun 30, 2005
Messages
59
Reaction score
0
Hi all. I got a php script that i want install it on local apache webserver with php 5 .
When i run it i get this error :


[/CODE]
Fatal error: Cannot use object of type Session as array in line ..
[/code]
It points to this line of code that is at very end of this cript


Code:
// Create Class
$mymusic = new Music($_GET['action'], $session['username']);


?>

could an expert help me fix this error.Thanks
 
Back
Top