I want to echo back certain bits of an array; however, the array is created using the str_split() function and based off an integer that will obtained from a database. Is there anyway to have echo back from a certain point on? Example: <php? $db_int = "12345"; //this an example of an integer obtained from the database $db_array = str_split($db_int, 1); //this will create an array with each digit as a position in the array echo $db_array; // will echo back "1" echo $db_array; // will echo back "2" echo $db_array; // will echo back "3" echo $db_array; // will echo back "4" echo $db_array; // will echo back "5" ?> Now, given a situation like that, if the integer retrieved from the database was only "1234", then the code would mess up. The server would look to parse $db_array, but nothing would be there. Is there anyway to tell it to echo back from  on? Like echo $db_array[3+] so it would just go to 3 and just echo the rest of the array with it if it's there. How would you best handle echoing back arrays with variable positions without knowing how many positions they will have beforehand? Also, is there anyway to echo back 0 if the array position doesn't exist? Let me know if I'm not being clear enough. Thanks.