I have created a custom module, and i have this phtml:

<div class="container-club">
    <div class="club-img">
        <div class="club-login-field">
            <div class="club-name field">
                <label class="" for="email"><span>Naam</span></label><br>
                <input type="input" name="club-name" id="club-name" class="input-text" >
            <div class="club-email-address control">
                <label class="" for="email"><span>E-Mailadres</span></label><br>
                <input type="input" name="club-name" id="club-name" class="input-text"><br>
                <a class="action remind" href="#"><span>Wachtwoord vergeten?</span></a>
            <div class="club-login-button">
                <button type="submit" class="action login primary" name="send" id="send2"><span>CLUBLOGIN INLOGGEN</span></button>


In this module i have already set a controller, block and i have created a custom table also.

My question:

How can i submit this form and insert/select this 2 fields into DB, via Controller or Model?

Does anyone can help me with some instructions?

Thank you in advance!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.