get_all.ctp 176 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 <?php /** * Display all categories */ foreach ($categories as $key => $value) : ?> <option value="<?php echo $key; ?>"><?php echo $value; ?></option> <?php endforeach; ?>