
July 26th, 2005, 08:14 AM
|
|
Contributing User
|
|
Join Date: Apr 2005
Posts: 207
Time spent in forums: 20 h 3 m 51 sec
Reputation Power: 4
|
|
object of type Session as array error in php
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
|