[PHP] PHP query to javascript array

2002-12-06 Thread Christian Ista
Hello, Could you tell me how to transform a PHP query result to a javascript array ? Same question, if you want to store several field from the query to the javascript. Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP query to javascript array

2002-12-06 Thread Marek Kilimajer
for numbers: jsarray= new Array(?= implode(',',$phparray) ?); for strings: jsarray= new Array(?= implode(',',$phparray) ?); Christian Ista wrote: Hello, Could you tell me how to transform a PHP query result to a javascript array ? Same question, if you want to store several field from