Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/09/2006, 10:54
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Código PHP:
$array = array( 'a''b''c''d' );
$toJavaScript implode';'$array ); 
De alguna forma pasa el $toJavaScript a tu script a lo mejor asi:
Código:
var raw = '<?php echo $toJavaScript; ?>';
var theArray = raw.split( ';' );
ya en theArray tienes el array que tenias en javascript.