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

Answered by urtrivedi 276 in a post from
$test2=$test1
Jump to Post

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, learning, and sharing knowledge.