Problems with creating Array
| From: | Nic Skitt | Date: | Wed, 22 Aug 2001 08:31:36 +0000 |
| Subject: | Problems with creating Array | ||
| Groups: | php.lang | ||
| Request: | Send a blank email to php-lang+get-200@lists.php.net to get a copy of this message | ||
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