<?php /* * Created on 24.03.2009 * * @copyright (c) 2010 animegame.eu * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence * */ include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php'); include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php'); $id = 3; $user = $user_ida; $chars = getCharsOfUser($user_ida['id']); ?> <form> <select id = "input" name="menu"> <option value ="-1">Charakter auswählen...</option> <?php foreach($chars as $row) { echo "<option value='$row[id]'>$row[name]>"; } ?> </select> </form>