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
[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
2 matches
Mail list logo