<?php $array = array('one', 'two', 'three'); ?>
<script language="JavaScript" type="text/JavaScript">
var xx=new Array("<?=implode("\",\"", $array); ?>")
</script>
Wednesday, February 6, 2008
Php with Javascript Array
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment