note 104863 added to control-structures.elseif

From: Date: Tue, 12 Jul 2011 15:00:53 +0000
Subject: note 104863 added to control-structures.elseif
Groups: php.notes 
Request: Send a blank email to php-notes+get-181437@lists.php.net to get a copy of this message
Why not use: <?= ($a>6) ? "a is more than 6" : "a is less than, or equal to 6" ?> <?= will echo the PHP rather than just executing it. If <?= does not work for you, then google for why not ---- Server IP: 69.147.83.197 Probable Submitter: 195.137.27.1 ---- Manual Page -- http://www.php.net/manual/en/control-structures.elseif.php Edit -- https://master.php.net/note/edit/104863 Del: integrated -- https://master.php.net/note/delete/104863/integrated Del: useless -- https://master.php.net/note/delete/104863/useless Del: bad code -- https://master.php.net/note/delete/104863/bad+code Del: spam -- https://master.php.net/note/delete/104863/spam Del: non-english -- https://master.php.net/note/delete/104863/non-english Del: in docs -- https://master.php.net/note/delete/104863/in+docs Del: other reasons-- https://master.php.net/note/delete/104863 Reject -- https://master.php.net/note/reject/104863 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181437) next »