Re: [PHP] Splice problem

2003-09-18 Thread CPT John W. Holmes
From: "Stevie D Peele" <[EMAIL PROTECTED]> > My problem is that I am splicing an array and then echoing the array > [code] > $input = array("red", "green", "blue", "yellow"); > array_splice($input, 2); > > echo $input; > ?> > [/code] > > and all that is echoed is "Array." I want red green to be

RE: [PHP] Splice problem

2003-09-18 Thread Jay Blanchard
[snip] My problem is that I am splicing an array and then echoing the array [code] [/snip] Shoulda kept readin', $input is now an array with red and green in it. http://www.php.net/array_splice -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Splice problem

2003-09-18 Thread Stevie D Peele
My problem is that I am splicing an array and then echoing the array [code] [/code] and all that is echoed is "Array." I want red green to be echoed. Thanks The best thing to hit the internet in years - Juno SpeedBand! Surf the we