[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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to