Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/res/view/crud/relationships.php
	<select name="<?php echo $rel['key']?>">
		<option value=""> - None - </option>
		<?php foreach($rel['list'] as $row): ?>
			<option value="<?php echo $row[$rel['idkey']]?>"
			<?php if ($rel['value'] == $row[$rel['idkey']])echo 'selected="selected"'?>
			>
			<?php foreach($rel['fields'] as $field => $info):?>
			<?php echo $row[$field]?> - 
			<?php endforeach; ?>
			</option>
		<?php endforeach; ?>
	</select>
Return current item: GnomePHP