note 2722 deleted from array_push by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 09:37:20 +0000 |
| Subject: | note 2722 deleted from array_push by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3999@lists.php.net to get a copy of this message | ||
$array[] = $var; works with php 3...
array_push will not create an array for you... The variable must already exist, and must be an
array. Go with the old if you are not sure what your doing.