<input type="text" name="tags"/> <button type="submit" name="action" value="add">Add tag</button> </p> </form> <form action="admin_tags.php" method="post"> <table> <tr> <th>Tags</th> <th>Aliases</th> </tr> <tr> <td> <select name="tags[]" multiple="multiple" size="25"> <?php $tags = $catalog->enumerate_tags(); foreach ($tags as $tag) { ?> <option value="<?php echo htmlspecialchars($tag, ENT_QUOTES); ?> "><?php echo htmlspecialchars($tag, ENT_NOQUOTES); ?> </option> <?php } ?> </select> </td> <td>