How to write with out bracket if else statement in php

first of all deffine veriable you want to compare or check the value is exist or not for examplem. $variable_name = "test"; then write in this sence of php statement with out bracket .
[php] echo($variable_name)? "value if show if the variable have some things ": "variable have no value " [/php]

Comments

Popular posts from this blog

how to get string between two special reacter in php