Converting arrays
| From: | Gary | Date: | Mon, 25 Feb 2002 21:15:32 +0000 |
| Subject: | Converting arrays | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86152@lists.php.net to get a copy of this message | ||
Hi All,
I am not too bad at building arrays in php but I need to convert a javascript form into php. How wuld I conver the small snippit here?
var d = new Array(), l = new Array();
l[0] = new Array(1, -360, 1, "CHICAGO");
l[1] = new Array(1, -420, 1, "EDMONTON");
l[2] = new Array(1, -540, 1, "FAIRBANKS");
TIA
Gary