Programlama | Programlama Dilleri | C Programlama Dili |C++

Anasayfa Programlama Php Php'de If ve Else Komutlar?
´╗┐

Php'de If ve Else Komutlar?

AăIKLAMA

Php if ve else ve else-if yap?lar?n?n kullan?ma dair bir ÷rnektir.

Program Kodu:

  1.  
  2. <div style="width: 361px; height: 364px">
  3. á<?php
  4.  
  5. $sayi = 5;
  6.  
  7. if($sayi="5"){
  8.  
  9. áecho "Say? de?i?keninin de?eri 5'e e?ittir.";
  10.  
  11. }elseif($sayi=="6"){
  12.  
  13. echo "Say? de?i?kenin 5'e e?it de?ildir.";
  14.  
  15. }else{
  16.  
  17. /*buraya ise di?er ?artlar?n geršekle?memesi durumunda yap?lacak olan i?lemler yaz?lacakt?r. */
  18.  
  19. echo "Her iki ko?ulda sa?lanmad??? išin bu metin gelmi?tir.";
  20.  
  21. á}
  22.  
  23. ?>
  24.  
  25.  

 

 

Yorumlar (0)
Sadece kay─▒tl─▒ kullan─▒c─▒lar yorum yazabilir!
Son G├╝ncelleme ( Cuma, 08 Nisan 2011 00:26 )  
backlinktr.biz | 523: Origin is unreachable

Error 523 Ray ID: 5355368a0bacd43b • 2019-11-14 01:29:12 UTC

Origin is unreachable

You

Browser

Working
Budapest

Cloudflare

Working
backlinktr.biz

Host

Error

What happened?

The origin web server is not reachable.

What can I do?

If you're a visitor of this website:

Please try again in a few minutes.

If you're the owner of this website:

Check your DNS Settings. A 523 error means that Cloudflare could not reach your host web server. The most common cause is that your DNS settings are incorrect. Please contact your hosting provider to confirm your origin IP and then make sure the correct IP is listed for your A record in your Cloudflare DNS Settings page. Additional troubleshooting information here.