添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
任性的小熊猫  ·  随机密码生成器·  3 月前    · 
苦恼的冲锋衣  ·  首页_北京师范大学·  6 月前    · 
帅呆的西装  ·  jquery ...·  7 月前    · 
  • WordPress Responsive Tabs Live Preview
  • wordpress post grid Live Preview
  • Live Preview Masonry Tiled Gallery WordPress Plugin
  • Live Preview Full Width Slider Plugin
  • Live Preview WordPress Video Slider Pro
  • Live Preview Best Testimonial Slider Plugin
  • Live Preview Best Testimonial Slider Style 2
  • Live Preview Best Testimonial Slider Style 3
  • Live Preview Best Testimonial Slider Style 4
  • Live Preview Best Testimonial Slider Style 5
  • Live Preview Responsive Thumbnail Slider Pro
  • Live Preview WordPress Responsive Filterable Portfolio Plugin
  • Live Preview WordPress Responsive slider with Lightbox Pro
  • Live Preview WordPress continuous slider with Lightbox Pro
  • Live Preview WordPress Photo Gallery Slideshow Pro
  • Live Preview WordPress Responsive Video Gallery
  • Live Preview WordPress Video Grid
  • Live Preview WordPress Vertical Thumbnail Slider Pro
  • Live Preview WordPress Team Circle Gallery Slider Pro
  • Live Preview Latest Post Slider
  • Live Preview Horizontal Post Slider
  • Live Preview Vertical Post Slider
  • Live Preview WooCommerce Donation Plugin
  • php mcq questions with answers
  • C# MCQ With Questions and Answer
  • Contact Us
  • Cart (demo Store)
  • There is ternary operator(conditional) operator in php which is used for IIF equivalent condition in php. The conditional operator is the “?:” (or ternary) operator.

    The expression (expr1) ? (expr2) : (expr3) evaluates to expr2 if expr1 evaluates to TRUE, and expr3 if expr1 evaluates to FALSE.

    Since PHP 5.3, it is possible to leave out the middle part of the ternary operator. Expression expr1 ?: expr3 returns expr1 if expr1 evaluates toTRUE, and expr3 otherwise.

    Example

    $a=10; echo(($a==10)?'Yes its true':'Its false');