My problem is that I am splicing an array and then echoing the array
[code]
?php
$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 echoed.
Thanks
[snip]
My problem is that I am splicing an array and then echoing the array
[code]
?php
$input = array(red, green, blue, yellow);
array_splice($input, 2);
echo $input;
?
[/snip]
Shoulda kept readin', $input is now an array with red and green in it.
http://www.php.net/array_splice
--
PHP
From: Stevie D Peele [EMAIL PROTECTED]
My problem is that I am splicing an array and then echoing the array
[code]
?php
$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 echoed.
That's
3 matches
Mail list logo