Re: Array Javascript

From: Date: Fri, 06 Sep 2002 09:55:19 +0000
Subject: Re: Array Javascript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115413@lists.php.net to get a copy of this message
if you have an array in javascript: array1 = [1,2,3,4,5,6,7,8,'test']; etc... you can join it in JavaScript to make it a one string as: array1 = array1.join('|'); then split in PHP to make it back an array: <? $array1 = explode('|', $array1); ?> good luck, "Kale" <kaleonardo@home.ro> wrote in message news:002c01c254cc$fe8eace0$7800a8c0@leonard... > Hy, > I have an array make with a javascript. > How can I read values with PHP from it? > Kale. >

« previous php.general (#115413) next »