Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

What does this statement means (<?=) in a tenary operator

$
0
0

I met with the ternary operator statement

 

<p>Values <?= $_POST['submitted'] ? "sorted by {$sortType}" : "unsorted"; ?>:</p>

 

I do understand what the statement mean except the the equality sign after the question mark. I would appreciate it if any one would explain what did it mean.

 

Thanks


Viewing all articles
Browse latest Browse all 13200

Trending Articles