Tema
:
Insertar javascript mediante php
Ver Mensaje Individual
#
2
(
permalink
)
27/06/2006, 03:39
Azrael666
Fecha de Ingreso: noviembre-2004
Mensajes: 652
Antigüedad: 20 años, 5 meses
Puntos: 1
a ver asi si funciona:
<?php
echo "
<script>
categoria=new Array()";
while ($row=mysql_fetch_array($result){
echo "categoria[".$cont."]=valor";
$cont++;
}
echo "</script>";
?>
__________________
ALOZORRO
v5.0 (ahora en .es)
Azrael666
Ver Perfil
Buscar todos los Mensajes de Azrael666