Jump to content

Small index problem - question


waynew

Recommended Posts

EDIT!!!!!!!!!!!!!!!

 

btw, this will reorder the values.

 

if that is ok use it, otherwise:

$arr = array(0 => 7, 2 => 9);
$new = array();
foreach($arr as $val){
     $new[] = $val;
}

print_r($new);

 

SO that will put it as array(0 => 7, 1 => 9); ???

 

Yes

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.