Results 1 to 2 of 2

Thread: Copy an Array

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    266

    Copy an Array

    Is there any PHP function that can allow me to make a copy of an array ?

    myarray=array(0=>"Hello",1=>"World");

    copy it and named it as fresharray().

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Copy an Array

    PHP Code:
    $fresharray $myarray

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width