Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8067483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:18:54+00:00 2026-06-05T12:18:54+00:00

In my html page, i have links like this <table width=100% border=0 cellspacing=4 cellpadding=4>

  • 0

In my html page, i have links like this

<table width="100%" border="0" cellspacing="4" cellpadding="4">
          <tr>
            <td><a href="ApplicationRegister.php?plan=trial"><img src="images/box4.png" width="230" height="300" /></a></td>
            <td><a href="ApplicationRegister.php?plan=plan1"><img src="images/box1.png" width="230" height="300" /></a></td>
            <td><a href="ApplicationRegister.php?plan=plan2"><img src="images/box2.png" width="230" height="300" /></a></td>
            <td><a href="ApplicationRegister.php?plan=plan3"><img src="images/box3.png" width="230" height="300" /></a></td>
          </tr>
        </table>

When i click on any one of the image, it will go to ApplicationRegister.php page with plan= corresponding values.

In my ApplicationRegister.php i have a registration form

<form action="emailconfirmation.php" method="post" name="form1" id="form1"  onsubmit="return Validate();">
    Company Name: 
        <input type="text" name="CompanyName" style="width:230px; height:20px;" /><br /><br />
    Company E-mail : 
    <input type="text" name="Companyemail" style="width:230px; height:20px;" /><br /><br />
     Company Contact <input type="text" name="CompanyContact" style="width:230px; height:20px;" /><br /><br />
     Company Address: <input type="text" name="CompanyAddress" style="width:230px; height:20px;" /><br /><br />
     <input type="hidden" name="form_submitted" value="1"/> 
     <input type="submit" value="REGISTER" name="submit" />
                    </form>

In this page it should take the value from url like plan=trail or plan1… whatever there in the url. then while submitting all the values should be submitted along with these form data.

How to achieve this? Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:18:55+00:00Added an answer on June 5, 2026 at 12:18 pm

    First, you need to sanitize the plan input:

    <?php
        $plan = @$_GET['plan'];
        $plan = +$plan; #convert to number
    ?>
    

    Just add another hidden field containing that value

    <form action="emailconfirmation.php" method="post" name="form1" id="form1" onsubmit="return Validate();">
        ...
        <input type="submit" value="REGISTER" name="submit" />
        <input type="hidden" name="plan" value="<?php echo $plan ?>"/> 
    </form>
    

    Another option would be to add it as a get parameter to the action:

    <form action="emailconfirmation.php?plan=<?php echo $plan ?>"
          method="post" name="form1" id="form1" onsubmit="return Validate();">
        ...
        <input type="submit" value="REGISTER" name="submit" />
    </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a table with links to a other html doc like this <div
Suppose I have an html page source like: <p><font face=Arial color=#400040><small><strong> <a href=some_link>description</a>: </strong>some
I have a HTML page containing follwing links <a class=out href=www.a.com/hgfgtsdfdffsdfsdf>sdfsssdfddf</a> <a href=www.a.com/hgfgt>dsfdsf</a> <a
lets say i have two pages links.html & contents.php ... first page contains only
I have a UIWebView which loads an HTML page which has some links to
I have a master page which containing few CSS links and java scripts. <html
I have this report that I generate in an aspx page. I would like
I have a table that looks like the following. <tr> <td>Link Name</td> <td><a href=#
I have a page that lists all from my Post table, it looks like
I have a page that looks something like this: ... <div class=container> <div class=info>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.