Hi,

anybody please help me out.

i am having an array

$test1=array(1,2,3,4)

i want this "test1" array values into "test2" array variable.thanks

Recommended Answers

All 2 Replies

$test1=array(1,2,3,4);
$test2=array();
$test2=$test1;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.