cvs: phpweb / submit-event.php

From: Date: Mon, 04 Mar 2002 02:59:37 +0000
Subject: cvs: phpweb / submit-event.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8939@lists.php.net to get a copy of this message
jimw Sun Mar 3 21:59:37 2002 EDT Modified files: /phpweb submit-event.php Log: handle categories correctly Index: phpweb/submit-event.php diff -u phpweb/submit-event.php:1.3 phpweb/submit-event.php:1.4 --- phpweb/submit-event.php:1.3 Sun Mar 3 20:48:25 2002 +++ phpweb/submit-event.php Sun Mar 3 21:59:37 2002 @@ -186,11 +186,7 @@ <select name="in[category]" width="20"> <?php $cat = array("- Select a category -", "regional", "national", "international"); - foreach ($cat as $name) { - echo '<option', - ($name == $in['category'] ? ' selected="selected"' : ''), - '>', htmlentities($name), "</option>\n"; - } + display_options($cat,$in['category']); ?> </select> </td>

« previous php.mirrors (#8939) next »