Russia Русский ds@ikeamadi.org

LABADGE

You’re still running. Yayy!!

33,
‘text’ => “ Luke 21-22 “,
‘mv’=> “‪LUKE 22:19
And He took bread, gave thanks and broke it, and gave it to them, saying, ‘This is My body which is given for you; do this in remembrance of Me.'”);

$content[strtotime(‘3-11-2013’)] = array(
‘day’ => 34,
‘text’ => “ Luke 23-24 “,
‘mv’=> “‪ LUKE 24:45
And He opened their understanding, that they might comprehend the Scriptures.”);
$content[strtotime(‘4-11-2013’)] = array(
‘day’ => 35,
‘text’ => “ John 1-2 “,
‘mv’=> “‪ John 1:1
In the beginning was The Word, and The Word was with God and The Word was God.”);

//output based on a day
//get date today
$date = date(‘d-m-Y’);

//output based on a day
//get date today
$date = date(‘d-m-Y’);

if (isset($content[strtotime($date)])) {
//content found for today
echo ‘

‘;
echo ‘Day ‘. $content[strtotime($date)][‘day’];
echo ‘ of 130’;
echo ‘ – ‘;
echo $content[strtotime($date)][‘text’];
echo ‘

MEMORY VERSE for today :

‘. $content[strtotime($date)][‘mv’];
echo ‘

‘;
}
else {
//content not found for today. decide what to do
echo ‘

Please check back in a couple of mins. Will be updated : ) kindly click here for a full list of the program…

‘;
}

//things to consider
//1. you might still want a kinda list that holds all the days till the current date. this should be in another page though. i will leave you to try figure that out
//2. what happens when users access this page after all days run out?
?>

Receive Fresh Grace To Keep Learning and Applying! Please Tell Someone about LA130!

Russia