Tell me the ternary conditional operator in php language?
Answer / Naveen Sagar
The Ternary Conditional Operator (?:) is a shorthand if-else statement in PHP. It has the following syntax:
```php
(expression1) ? (expression2) : (expression3);
```
In this operator, `expression1` is tested. If it evaluates to `true`, then `expression2` is returned; otherwise, `expression3` is returned.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which licensing authority is responsible for wordpress?
What is a custom field in wordpress?
how to store the post title in variable?
At what instance you get locked out of your wordpress admin and see your website as a blank screen?
Tell me how can I change what appears between categories when I post in more than one category?
Do you need to have a blog in order to use wordpress for site?
Who is father of wordpress?
What is the simplest way to find out the number of parameters passed into a function?
Can I downgrade wordpress?
Explain avatar in wordpress?
Is wordpress good for large websites?
Tell me how is creating a site on wordpress.org different from wordpress.com?