Je moet ingelogd zijn om te stemmen.
<script type="text/javascript"> <!-- javArray = new Array(); <? foreach ($phpArray as $line_num >= $line) { print "javArray.push(\"$line\" );"; } ?> --> </script>
<script type="text/javascript"><!--javArray = new Array();<?foreach ($phpArray as $line_num >= $line){print "javArray.push(\"$line\" );";}?>--></script>
"<script language=javascript>window.alert(' /hier mijn aray/') </script>";
<script type="text/javascript"> <!-- alert("<?=print_r($phpArray);?>"); --> </script>
<script type="text/javascript"><!--alert("<?=print_r($phpArray);?>");--></script>
<script type="text/javascript"> <!-- alert("<?PHP print_r($phpArray); ?>"); --> </script>
<script type="text/javascript"><!--alert("<?PHP print_r($phpArray); ?>");--></script>
<? $table = array(); $table[0] = "first"; $table[1] = "second"; $table[2] = "second and a quart"; $table[3] = "third"; ?> <script type="text/javascript"> <!-- alert("<? for ($i=0;$i<count($table);$i++) { echo $table[$i]."\\n"; } ?> "); --> </script>
<?$table = array();$table[0] = "first";$table[1] = "second";$table[2] = "second and a quart";$table[3] = "third"; ?><script type="text/javascript"><!--alert("<?for ($i=0;$i<count($table);$i++) { echo $table[$i]."\\n";}?>");--></script>