$files = array(
2 => 'fileday2.pdf',
3 => 'fileday3.pdf',
5 => 'fileday5.pdf',
);
foreach ($files as $day => $file) {
if ($day < S2MEMBER_CURRENT_USER_REGISTRATION_DAYS)
echo 'http://example.com/files/', $file;
else
break
}
Statistics: Posted by Cristián Lávaque — May 16th, 2011, 10:57 am
Statistics: Posted by woodpecker34 — May 15th, 2011, 7:25 pm
Statistics: Posted by Cristián Lávaque — April 6th, 2011, 2:54 pm
Statistics: Posted by cassel — April 6th, 2011, 1:25 pm
Statistics: Posted by Cristián Lávaque — April 6th, 2011, 1:08 pm
Statistics: Posted by cassel — April 6th, 2011, 5:11 am