Re: [PHP] Fatal error: [] operator not supported for strings

2003-08-19 Thread Curt Zirzow
* Thus wrote Daniel ([EMAIL PROTECTED]): > I checked ant that is not the cause of this problem. > Any other sugesstion? Yes it is the problem. Somewhere the $_SESSION['id_produs'] is set to a string or number. > > > "John W. Holmes" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]

Re: [PHP] Fatal error: [] operator not supported for strings

2003-08-19 Thread desa15
o> cc: Asunto: Re: [PHP] Fatal error: [] operator not supported for strings

Re: [PHP] Fatal error: [] operator not supported for strings

2003-08-19 Thread Daniel
I checked ant that is not the cause of this problem. Any other sugesstion? "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Daniel wrote: > > > hi, how do i solve this error? > > > > Fatal error: [] operator not supported for strings > > in /var/www/html/p.../magazin

Re: [PHP] Fatal error: [] operator not supported for strings

2003-08-18 Thread John W. Holmes
Daniel wrote: hi, how do i solve this error? Fatal error: [] operator not supported for strings in /var/www/html/p.../magazin/cos.php on line 13 line 13 is this line: $_SESSION["id_produs"][]=$_POST["id_produs"]; no error when i run in local host , when i upload in server (with PHP 4.2.2) only

[PHP] Fatal error: [] operator not supported for strings

2003-08-18 Thread Daniel
hi, how do i solve this error? Fatal error: [] operator not supported for strings in /var/www/html/p.../magazin/cos.php on line 13 line 13 is this line: $_SESSION["id_produs"][]=$_POST["id_produs"]; no error when i run in local host , when i upload in server (with PHP 4.2.2) only got this error