Need help - display list of name based on month

This is where you share YOUR scripts with others

Moderators: macek, egami, gesf

Post Reply
NigelRen
php-forum Fan User
php-forum Fan User
Posts: 622
Joined: Fri Aug 05, 2011 9:53 am

Re: Need help - display list of name based on month

Post by NigelRen » Fri Oct 21, 2011 11:57 pm

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 ).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest