I have (for you a small) problem.
I'm creating my first module. This module has two database tables.
1 named categorys and one name questions.
Now I want to make a input form for the questions.
In that form there should be a dropdown field and that field should be filed with the categories from the category table.
I search the forum but did not find a solution.
I'm now using a text field :
Code: Select all
<div class="pageoverflow">
<p class="pagetext">{$mod->Lang('category')}:</p>
<p class="pageinput">
<input type="text" name="{$actionid}category" value="{$question->category}"/>
</p>
</div>
Please help.
TIA
(PS. If the module is ready I want to upload it to CMSMadeSimple module section)