1<?php
2include_once"arrays1.php";
3?>
4<!doctype hmtl>
5<html>
6<body>
7 <?php
8
9 $a=array(3,5,4,890);
10 $respuesta=imprimirArrays($a);
11 echo $respuesta;/*linea 11 donde esta el error*/
12 ?>
13</body>
14</html>
15
1$cart = array();
2$cart[] = 13;
3$cart[] = 14;
4// etc
5
6//Above is correct. but below one is for further understanding
7$cart = array();
8for($i=0;$i<=5;$i++){
9 $cart[] = $i;
10}
11echo "<pre>";
12print_r($cart);
13echo "</pre>";
14