Ich kann nicht herausfinden, wie PHP
Array zu jQuery
Array zuweisen.Wie weisen Sie ein PHP-Array dem jQuery-Array zu?
möchte ich etwas tun, wie folgt aus: me
var jQueryArray = <?php $phpArray; ?>;
Kann mir jemand sagen, wie ich dies tun kann?
Duplizieren/Ähnliche Frage: http://stackoverflow.com/questions/5618925/convert-php-array-to- Javascript + http://Stackoverflow.com/questions/4885737/pass-a-php-array-to-a-jacascript-function –
Und http://stackoverflow.com/questions/10758471/pass-php-array-to -jquery-function – user666