
November 17th, 2012, 04:03 PM
|
 |
pollyanna
|
|
Join Date: Jul 2012
Location: Germany
|
|
Hi,
no, those paranthesis are unnecessary, since "==" already has a higher precedence than the ternary operator.
Perceptus, are you sure that's the exact output of the "echo" statement? Because what the statement should and does output (on my machine) is
Code:
<a href='?OB=name&oba='DESC><img src='images/name.gif'></a>
Maybe it's because of the invalid single quote after the "oba=" that you don't see the full URL.
|