Jump to content

multiple forms ????


imarockstar

Recommended Posts

Scenario :

 

I have a sign up form ... I want to add an opt-in to a mailing list using AWEBER. Is there a way to send the required meta data to AWEBERS form and also send the info to my database ??

 

(AWEBER is a mailing list manager)

 

I need to capture NAME and EMAIL and insert that into my DB and also send NAME and EMAIL to the AWEBER script.

 

 

MY FORM :

 

<form method="POST">

<div class=head1>register for RSSify</div>	



<div class=title>first name</div> 
<input class=input type="text" name="f_name" value="<?=@$_POST['f_name']?>" >
<div class=clear></div>

<div class=title>last name</div>
<input class=input type="text" name="l_name" value="<?=@$_POST['l_name']?>">
<div class=clear></div>

<div class=title>email</div>
<input class=input type="text" name="email" value="<?=@$_POST['email']?>"> 
<div class=clear></div>


<div class=title>Username</div> 
<input class=input type="text" name="username" value="<?=@$_POST['username']?>">
<div class=clear></div>

<div class=title>Password</div>
<input class=input type="password" name="password">
<div class=clear></div>

<div class=title>Password</div>
<input class=input type="password" name="cpassword"> 
<div class=clear></div>



<div class=title>Free Subscription</div>  
<input type=radio name=payment value=free <?=($_POST['payment'] == 'free' ? 'checked="checked"' : '')?>> 


<span class=price>$0</span> <br>

<div class="small"> 
You get complete acces to RSSify. You can make your own RSS content and feeds, however; there
will be links embeded into your feeds.
</div>

<br><br>

<div class=title>Paid Subscription</div> 

<input type=radio name=payment value=pay <?=($_POST['payment'] != 'free' ? 'checked="checked"' : '')?>> 
<span class=price>$4/mo and $19.99 Licence Fee (one time)</span> <br>

<div class="small"> 
This membership removes all links and advertising back to us. You also get exclusive access to other members
RSS feeds and content.
</div>


<br><br>


<div class=title>Promo Code</div> 
<input class=input type="text" name="promocode">


<br>


<input type="submit" name="register" value="Register">

</form>

 

 

AWEBER form

 

<form method="post" action="http://www.aweber.com/scripts/addlead.pl">



<input type="hidden" name="meta_web_form_id" value="1933060748">
<input type="hidden" name="meta_split_id" value="">
<input type="hidden" name="unit" value="rssifymefree">
<input type="hidden" name="redirect" value="http://www.rssifyme.com/offer.php" id="redirect_0ddad2235c8d127fd8b29442f4388b93">
<input type="hidden" name="meta_redirect_onlist" value="">
<input type="hidden" name="meta_adtracking" value="">
<input type="hidden" name="meta_message" value="1">
<input type="hidden" name="meta_required" value="from,name">
<input type="hidden" name="meta_forward_vars" value="0">



<table>
<tr><td colspan=2><center></center></td></tr>
<tr><td>Email:</td><td><input type="text" name="from" value="" size="20"></td></tr>
<tr><td>Name:</td><td><input type="text" name="name" value="" size="20"></td></tr>
    <tr><td colspan=2><center></center></td></tr>
<tr><td align="center" colspan="2"><input type="submit" name="submit" value="Submit"></td></tr>
</table>
</form>

 

 

Link to comment
https://forums.phpfreaks.com/topic/122398-multiple-forms/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.