PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Jun 26, 2019 8:12 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Oct 15, 2014 2:22 pm 
Offline
Forum Newbie

Joined: Wed Oct 15, 2014 2:16 pm
Posts: 1
The Idea of the loop is to count how many days are missing to reach the omer. Omer is a Party, that party is in the day 49, no more, no less. The system have to show me how many days are missing and in the case that we reach the day 49, the system will say The omer is over.

Syntax: [ Download ] [ Hide ]
    <?php
    $days = 0;
    $omer = 0;
   
        While($days < 49) {
            $omer = $days + 1;
            $omer = 49;
            }
            if ($days < 49) {
                $omer = $days + 1;
                echo "Hoy es el dia". " ". $omer. " ". "del Omer";
            }    
            else {
                echo "Ya se acabo el omer";
        }
    ?>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group