Return to Snippet

Revision: 21120
at December 3, 2009 17:33 by Michael01


Initial Code
$x = ($myvalue == 10) ? "the value is 10": "the value is not 10";

Initial URL
http://www.lizjamieson.co.uk/2007/08/20/short-if-statement-in-php/

Initial Description


Initial Title
Short if-Statement

Initial Tags


Initial Language
PHP