At each point that you read the file - your setting the value into $current_birthdays rather than adding it to the list of entries in $current_birthdays, try...
Code: Select all
$current_birthdays[]=$line_of_text;
( the [] simply means add this entry to the end of the array ).