createinputdropbox and ampersant
Posted: Mon Mar 05, 2012 7:57 pm
I create an input dropbox with this code :
$item->type can be "B&B country".
Be using the & (ampersand) doesn't work.
It then skips to the first entry in the dropdownlist and not to the "B&B country" entry.
Is the a way to use the ampersand here ?
Thanx
Code: Select all
$this->smarty->assign("type_input", $this->CreateInputDropdown($id,"objtype",$tmptype,-1,isset($item)?$item->type:""));
Be using the & (ampersand) doesn't work.
It then skips to the first entry in the dropdownlist and not to the "B&B country" entry.
Is the a way to use the ampersand here ?
Thanx