How to create a form with contents..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gannboy
    Staff Sergeant

    • Apr 2006
    • 44

    How to create a form with contents..

    Hi there,

    My name is Eddy, client id is 6284.

    I have some questions regarding creating forms...

    1) I would like to create a website with form and form elements on the right, where the site contents on the left and upload it as an html page... how can I do it?

    2) After doing it, will I be able to capture the info onto my email address?

    That's all for the moment..

    Regards,
    Eddy
  • davidundalicia
    General

    • Mar 2006
    • 6294

    #2
    Re: How to create a form with contents..

    Yes you can do that Eddy,

    Start by viewing the BV video tutorials
    or click on the link under my name below......

    have fun.......
    Have fun
    Regards..... David

    Step by Step Visual Tutorials for the complete beginner
    Newbies / Beginners Forum
    FREE Membership Login Scripts: - Meta Tags Analyzer
    My Social Networking Site - Free Contact Forms
    Finished your New website!! Now get it noticed Here:

    Comment

    • gannboy
      Staff Sergeant

      • Apr 2006
      • 44

      #3
      Re: How to create a form with contents..

      Originally posted by davidundalicia
      Yes you can do that Eddy,

      Start by viewing the BV video tutorials
      or click on the link under my name below......

      have fun.......
      Hi there,

      Thanks for your help.

      I have created a form using bluevoda website builders after following very closely the videos.

      I have a question:-

      1) How come when I click on the submit button this came out:

      This form is being submitted email.
      Submitting this form will reveal your email address to the receipent, and will send the data form without encrypting it for privacy.

      How can I enable it to work just like getresponse.com after the subscriber click on the "submit button" and will be re-direct to a confirmation page that I stated therein.

      Please help me!

      Thanks in advance

      Regards,
      Eddy

      Comment

      • Andy128
        Major General

        • Dec 2005
        • 2317

        #4
        Re: How to create a form with contents..

        Eddy-

        Best to follow this tutorial for what you are looking for;



        Post back if you have any questions.

        Andy
        PHP- is a blast!

        Comment

        • gannboy
          Staff Sergeant

          • Apr 2006
          • 44

          #5
          Re: How to create a form with contents..

          Originally posted by Andy128
          Eddy-

          Best to follow this tutorial for what you are looking for;



          Post back if you have any questions.

          Andy
          Hi Andy,

          Thanks for the help... I have followed the instructions in the tutorial very closely..

          But after I have click submit on my form.. I showed me this

          Parse error: syntax error, unexpected '>' in /home/bwavweja/public_html/thankyou.php on line 35

          What does the above mean....

          Please help me... thanks in advance.

          Regards,
          Eddy

          Comment

          • Andy128
            Major General

            • Dec 2005
            • 2317

            #6
            Re: How to create a form with contents..

            Post your URL and I will take a look at your form. Also- could you post the php script exactly as you used it so we can look at it also. Just copy and paste it in a thread.


            Andy
            PHP- is a blast!

            Comment

            • gannboy
              Staff Sergeant

              • Apr 2006
              • 44

              #7
              Re: How to create a form with contents..

              Originally posted by Andy128
              Post your URL and I will take a look at your form. Also- could you post the php script exactly as you used it so we can look at it also. Just copy and paste it in a thread.


              Andy
              Yes Sir...

              This is my url...:



              My thank you page is saved as thankyou.php..the under the page properties of this page... the extension is php.

              My script is

              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
              <HTML>
              <HEAD>
              <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
              <TITLE>Asthma Treatment | Amazing Free Techniques On Asthma Treatment</TITLE>
              <META name="KEYWORDS" content="asthma treatment, asthma treatment secrets, asthma treatment tip, asthma control, asthma, asthmatic, asthmatics, drug free, sinus, allergies, allergy, asthma symptom, asthma attack">
              <META name="DESCRIPTION" content="Asthma Treatment - Learn an amazing free techniques, tips and secrets on asthma treatment">
              <META name="GENERATOR" content="Created by BlueVoda">
              <STYLE type="text/css">
              div#container
              {
              width: 1148px;
              position: relative;
              margin-top: 0px;
              margin-left: auto;
              margin-right: auto;
              text-align: left;
              }
              body
              {
              text-align: center;
              margin: 0;
              }
              </STYLE>
              </HEAD>
              <BODY bgcolor="#0000A0" text="#000000"
              <script language="php">
              $email = $HTTP_POST_VARS[email];
              $mailto = "eddy@uniqueasthmatreatmentsecrets.com";
              $mailsubj = "Confirmation Page Contact";
              $mailhead = "From: $email\n";
              reset ($HTTP_POST_VARS);
              $mailbody = "Values submitted from web site form:\n";
              while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
              if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
              <script>
              >
              <DIV id="container">
              <DIV style="position:absolute;left:154px;top:74px;width :664px;height:426px;z-index:0" align="left">
              <TABLE width="100%" height="100%" border="2" cellpadding="0" cellspacing="1">
              <TR>
              <TD align="left" valign="top" BGCOLOR="#FFFFFF" width="658" height="420">&nbsp;</TD>
              </TR>
              </TABLE>
              </DIV>
              <DIV style="position:absolute;left:221px;top:114px;widt h:535px;height:29px;background-color:#FFFFFF;z-index:1" align="left">
              <FONT style="FONT-SIZE:18pt" color="#0000A0" face="Verdana"><B>Your Subscription Is Being Processed...</B></FONT>
              </DIV>
              <DIV style="position:absolute;left:222px;top:165px;widt h:535px;height:87px;background-color:#FFFFFF;z-index:2" align="left">
              <FONT style="FONT-SIZE:12pt" color="#000000" face="Verdana">Thank You!<BR>
              <BR>
              Your subscription has been confirmed and your email address has been added to our mailing list. Thank you for subscribing!<BR>
              </FONT>
              </DIV>
              <DIV style="position:absolute;left:222px;top:269px;widt h:528px;height:108px;background-color:#FFFFFF;z-index:3" align="left">
              <FONT style="FONT-SIZE:12pt;BACKGROUND-COLOR:#FFFFFF" color="#000000" face="Verdana">In the meantime, you may want to download the 1st report, &quot;<A href="http://www.uniqueasthmatreatmentsecrets.com/Asthma_Treatment_Free_Report.pdf">How To Prevent Asthma From Bothering Your Forever NOW!</A>&quot;<BR>
              <BR>
              <BR>
              The 2nd report will be send to your inbox. Do check it your email with 24 hours.</FONT>
              </DIV>
              </DIV>
              </BODY>
              </HTML>

              Please help me to take a look.

              Thanks in advance.

              Regards,
              Eddy

              Comment

              • Andy128
                Major General

                • Dec 2005
                • 2317

                #8
                Re: How to create a form with contents..

                Ok-

                I am no expert with code but I see some things that may cause problems.

                <BODY bgcolor="#0000A0" text="#000000">
                <script language="php">
                $email = $HTTP_POST_VARS[email];
                $mailto = "eddy@uniqueasthmatreatmentsecrets.com";
                $mailsubj = "Confirmation Page Contact";
                $mailhead = "From: $email\n";
                reset ($HTTP_POST_VARS);
                $mailbody = "Values submitted from web site form:\n";
                while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
                if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
                </script>

                Look at the above and see how it differs from your original and make the
                necessary adjustments. The closing tag on the <body........>
                and the closing php script tag was not correct.

                Try that and see if it works.

                Andy
                PHP- is a blast!

                Comment

                • gannboy
                  Staff Sergeant

                  • Apr 2006
                  • 44

                  #9
                  Re: How to create a form with contents..

                  Hi Andy,

                  Thanks you very much for your help.. The page is well loaded.. thanks again.

                  Well, a </script> really makes lot of different.

                  No wonder you are Major.. I hereby salute you. SIR...

                  thanks again.

                  Regards,
                  Eddy

                  Comment

                  • Andy128
                    Major General

                    • Dec 2005
                    • 2317

                    #10
                    Re: How to create a form with contents..

                    Glad it worked!

                    Andy
                    PHP- is a blast!

                    Comment

                    Working...
                    X