i have two phps name : random.php and data.php .
Random.php is use to generate a array with set of random values inside ,code is like -
//random.php (CURRENT)//here some code to generate random values.$array1 = array ("a","b","c");include('data.php');
in data.php i have data of arrays like this:
//data.php (CURRENT)$file = array($a=> array ( "price" => 35, "label" => 30, "off" => 39 )//$b,$c are same type array as $a );
now i want that the that the values from data.php get stored into $array1 from random.php somehow , because i will be sending that data to my webpage for display. #note i require two separate php files .