more questions about switch

From: Date: Mon, 18 Sep 2000 20:22:03 +0000
Subject: more questions about switch
Groups: php.general 
Request: Send a blank email to php-general+get-17195@lists.php.net to get a copy of this message
but id like to keep all my htmp out of php, how can i make this work?? <? switch($action): ?> <? case 1:?> <b>action is 1</b> <?break;> <? case 2:> <b>action is 2</b> <?break;?> <? case 3:?> <b>action is 3</b> <?break;?> <?default:?> <form action="selectcase.php" method="POST"> <select name="action"> <option>1</option> <option>2</option> <option>3</option> </select> <input type="Submit" name="s1" value="submit"> </form> <? endswith: ?> Curtis Cole Programmer/Web Dev. curtis@stcmail.com http://www.stcinc1.com 800-933-4504 Fax: 334-666-8833

« previous php.general (#17195) next »