Problems with creating Array

[email protected] ("Nic Skitt") Wed, 22 Aug 2001 09:31:36 +0100
Newsgroups php.lang
Message-ID <[email protected]>
Hi there,

I am getting quite frustrated with creating an array. All I seem to get is
parse errors.

I am trying to create a one dimensional array called tmpResults using the
following code:

Line 8: tmpResult = array();

Then I am adding to the array as follows:


$tmpResult[] = "blaa blaa blaa";

I am getting parse errors on this line and don't know why.

Any ideas?

Cheers

Nic