Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain the ternary conditional operator in php language?



Explain the ternary conditional operator in php language?..

Answer / Sandeep Chaudhary

The Ternary Conditional Operator in PHP is a shorthand way to write an if-else statement. It has the syntax: `expression (?) : expression (;)`. If the condition is true, it executes the first expression; otherwise, it executes the second.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

How do I setup a wordpress database?

1 Answers  


How can I stop WordPress from prompting me to enter FTP information when doing updates?

1 Answers  


How to create plugin for wordpress?

1 Answers  


How do bloggers get paid?

1 Answers  


How can you create an empty plugin which have basic options like activate, deactivate etc.?

1 Answers  


Explain the difference between characters 35 and x35?

1 Answers  


What is customize theme?

1 Answers  


How do I clean my wordpress site?

1 Answers  


Explain how come the code <?php print contents: $arr[1]; ?> Works, but <?php print contents: $arr[1][2]; ?> Doesn't for two-dimensional array of mine?

1 Answers  


Explain the difference between wordpress categories and tags.

1 Answers  


Can I change themes in wordpress?

1 Answers  


Write a Function to get website url in wordpress?

1 Answers  


Categories