/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$x = ($myvalue == 10) ? "the value is 10": "the value is not 10";
URL: http://www.lizjamieson.co.uk/2007/08/20/short-if-statement-in-php/
$x = ($myvalue == 10) ? "the value is 10": "the value is not 10";
URL: http://www.lizjamieson.co.uk/2007/08/20/short-if-statement-in-php/