if(condition):
// some scripts here
endif;
Is same as
if(condition)
{
// some scripts here
}
See http://php.net/manual/en/control-structures.alternative-syntax.php
More Related Contents:
- How do I store a custom user selected CSS template style (like wordpress visual editor)? [closed]
- PHP: What’s the speed difference “template” vs “quote”? [duplicate]
- How can I echo HTML in PHP?
- WooCommerce action hooks and overriding templates
- Opening/closing tags & performance?
- Best method of including views within views in CodeIgniter
- WooCommerce: Assigning an endpoint to a custom template in my account pages
- PHP vs template engine [closed]
- Using PHP as a template engine
- vsprintf or sprintf with named arguments, or simple template parsing in PHP
- Dirt-simple PHP templates… can this work without `eval`?
- PHP Eval that evaluates HTML & PHP
- PHP regex templating – find all occurrences of {{var}}
- Laravel 5 get view name
- Information from the sales_flat_order table [closed]
- Eliminate white space in between characters in PHP [duplicate]
- Organization db for blog posts with Mysql and Php [closed]
- mysqli or PDO – what are the pros and cons? [closed]
- PHP “php://input” vs $_POST
- mysqli_stmt::bind_result(): Number of bind variables doesn’t match number of fields in prepared statement
- Is there a “nullsafe operator” in PHP?
- What is the best method to merge two PHP objects?
- Access query string values from Laravel
- How to create a custom admin page in opencart?
- Pushnotification Server side Implementation
- Is it possible to protect from downloading a video from a site
- How to bind LIKE values using the PDO extension?
- PHP – Convert File system path to URL
- getting the full url including the query string after hash
- How to cause a redirect to occur before php script finishes?