Need help with a php.form

by Kelsen
5 replies
I could use some help with an Email subscribe tool.


This is what the Guide says


Code:
      Install Optin – Still on the Appearance > Editor page, click the “optin.php”
link. Replace the form elements in that file with those from your web form and add any additional inputs that your web form may have.
and this is the optin.php code
Code:
     <div class="fatlossoptin">
  <div class="fatlossoptincontent">
  <!-- Customize the form below so it works with your email service provider. Make sure you keep the classes for the inputs and submit button -->
    <form method='POST' name='NAMEHERE' action='Weight-loss-Ebook'>

      <table width="240" border="0" cellspacing="0" cellpadding="5" align="center">
        <tr>
          <td width="71">Name:</td>
          <td width="169">
              <input type="text" name="textfield" id="NAMEIDHERE" class="text" />
            </td>
        </tr>
        <tr>
          <td>Email:</td>
          <td><input type="text" name="textfield2" id="EMAILIDHERE" class="text" /></td>
        </tr>
        <tr>
          <td colspan="2" align="center"><input type="submit" class="button" value=""/></td>
        </tr>
      </table>
    </form>
  </div>
</div>
#phpform
  • Profile picture of the author AndreTinker
    Hi,
    The form inside the optin.php is a general one and really doesn't do anything. It looks like you need completely replace that form with one you got from somewhere else (already setup the way you want it).

    All you would do is delete everything from "<form" to "</form>" and paste the new form in its place.
    {{ DiscussionBoard.errors[3490697].message }}
  • I can have this sorted for you, for a small fee.
    {{ DiscussionBoard.errors[3495203].message }}
  • Profile picture of the author Big Squid
    You have to fill in your own ID elements- the text in UPPERCASE...
    {{ DiscussionBoard.errors[3507491].message }}
  • Profile picture of the author voitenkos
    This is not even a php script.
    {{ DiscussionBoard.errors[3556185].message }}
    • Profile picture of the author oknoorap
      just replace uppercase variable with, same variable on other form. if you serious, PM me, and I'll help you for free.
      {{ DiscussionBoard.errors[3556458].message }}

Trending Topics