Skip to content

Instantly share code, notes, and snippets.

@1stevengrant
Created January 10, 2012 13:43
Show Gist options
  • Save 1stevengrant/1589144 to your computer and use it in GitHub Desktop.
Save 1stevengrant/1589144 to your computer and use it in GitHub Desktop.
mailchimp signup form
<form id="signup" action="<?=$_SERVER['PHP_SELF']; ?>" method="get">
<p id="response">
<? require_once($_SERVER['DOCUMENT_ROOT'] . '/mc/store-address.php'); if($_GET['submit']){ echo storeAddress(); } ?>
</p>
<input type="text" class="text" placeholder="[email protected]" name="email" id="email" />
<input type="submit" class="button" value="Subscribe">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment