I have been thrown into a situation in which I shouldn't have and need some help.
I am working on a log in page that saves the info to a database. The log in page currently uses drop down lists and need to be changed to radio buttons. Here is the current code....
Project Type: <select name="projectType">
<?php $_from = $_SESSION['types']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['type']):
?>
<option value="<?php echo $this->tpl_vars['type']; ?>
"><?php echo $this->tpl_vars['type']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>
Could anyone tell me how to change this to where it would work with radio buttons?