LoginSignup
0
0

More than 5 years have passed since last update.

バージョン2で可変の変数を使う場合

Posted at

バージョン2のみの方法

{assign var=que_name value=que`$smarty.section.que.iteration`_array}
{foreach from=$arrQuestion.0.$que_name item=que1_item key=que1_key}
<option value="{$arrQuestion.0.title1}___{$que1_item}">{$que1_item}</option>
{/foreach}```
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0