Answers for "php array stackoverflow"

PHP
1

hacer array php stack overflow

<?php
include_once"arrays1.php";
?>
<!doctype hmtl>
<html>
<body>
    <?php
    
 $a=array(3,5,4,890);
 $respuesta=imprimirArrays($a);
 echo $respuesta;/*linea 11 donde esta el error*/
    ?>
</body>
</html>
Posted by: Guest on April-16-2021
0

php array stackoverflow

$cart = array();
$cart[] = 13;
$cart[] = 14;
// etc

//Above is correct. but below one is for further understanding
$cart = array();
for($i=0;$i<=5;$i++){
    $cart[] = $i;  
}
echo "<pre>";
print_r($cart);
echo "</pre>";
Posted by: Guest on December-02-2020

Browse Popular Code Answers by Language