I am trying to create an array with the values from 17 – 395, but I dont feel like typing in each number, there has gotta be a better way to do this…is there?
$x = array(17, 18, 19, 20,... 395);
Thanks,
J
What I am looking to do is this
$x = array(17, 395);
foreach ($x as $y => $z){
echo 'This is number '. $z . '';
}
Just use range.