This is not related to arrays.

          if(!isset($pokoj[1]["COLL"]){$pokoj[1]["COLL"] = 3;;

This line contains two syntax errors. Firstly, there is a missing ')'
closing the if() evaluation and there is a stray '{' after this.

Syntactically correct code would be as follows:

          if(!isset($pokoj[1]["COLL"])) $pokoj[1]["COLL"] = 3;

In the future, please check your code thoroughly before submitting a bug
report. Also, when submitting an example script, please make them small,
dealing only with the problem you have.

Gavin


On Tue, 11 Sep 2001, Jiri.Vaja wrote:

> problem is on line 199
> 
> --- Původní dopis ----------------------------------------------------------
> Datum: 11.09.2001  08:12
> Od: Bug Database <[EMAIL PROTECTED]>
> Pro: [EMAIL PROTECTED]
> Věc: Bug #13243 Updated: Error when using 2D array
> ----------------------------------------------------------------------------
> >ID: 13243
> >Updated by: swm
> >Reported By: [EMAIL PROTECTED]
> >Old Status: Open
> >Status: Feedback
> >Bug Type: Arrays related
> >Operating System: Windows 98 SE
> >PHP Version: 4.0.6
> >New Comment:
> >
> >I cannot recreate this on Unix systems. Could you please
> >give a short script, illustrating how the 2d array is being
> >manipulated.
> >
> >Previous Comments:
> >------------------------------------------------------------------------
> >
> >[2001-09-11 01:51:58] [EMAIL PROTECTED]
> >
> >if (empty($pokoj[1][9])): ... this part of 2D array is realy empty. If I use 1D 
>array, everything is >OK, but i need 2D array. When Apache 
> runing script with this row, Windows show error in module >PHP4TS.DLL. 
> >
> >
> >
> >P.S. I'm sorry, but my english is not good.
> >
> >------------------------------------------------------------------------
> >
> >
> >
> >ATTENTION! Do NOT reply to this email!
> >To reply, use the web interface found at http://bugs.php.net/?id=13243&edit=2
> >
> >
> 


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to