How does the phpsmart template assign values to the input text box the CI framework and smart template used by my project? & lt; input & nbsp; type = "text" & nbsp; id = "teamId" & nbsp; name = "teamId" & nbsp; value = ""/& gt; how does the php smart template assign values to the input text box?
How do I use the CI framework and smart template for my project?
The value of this text box is assigned.
$teamId=1;
$this->cismarty->assign('teamId',$teamId);
$this->cismarty->display('teamInfo.html');
<{$ TeamId}>
Where should this be stored?
------ Solution --------------------
Value = ""
------ Solution --------------------
Put in value
------ Solution --------------------
<{$team.id}> "/>
<{$team.code}> "/>
<{$team.caption}> "/>
If the editor reports an error, disable the HTML debugging function of the editor. <{$team.caption}> <{$team.code}> <{$team.id}>