Do I need a space between elsif?
So that it is 'else if'?
------------------ posted code before -------------------------------------
if ($profilefield[title]=='XXXXX') {eval("\$customfields_required .= \"".gettemplate("register_customfields_kg")."\";") ;}
elseif ($profilefield[title]=='YYYY') {eval("\$customfields_required .= \"".gettemplate("register_radiobuttons")."\";") ;}
else {eval("\$customfields_required .= \"".gettemplate
("register_customfields")."\";");}
|