Jump to content

[SOLVED] making an array out of a previous array


MikeDXUNL

Recommended Posts

<?php

    	foreach($achimg[1] as $key => $val) {
   if (($key % 2) == 0) {
   	
      $in_achimg = mysql_real_escape_string($achimg[1][$key]);
  
   }
  
}


?>

 

when I echo $in_achimg."<br />";

 

it spits out all the correct data. how would I go about putting these results into a new array?

 

Thanks in Advance,

Mike

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.