form action value move another form in php - Mostlikers

25 May, 2013

form action value move another form in php

This concept mostly used in multiple form value insert in Database. the first form value post the action and get other form . just give the form value in action page try this coding



Step 1 :

Make one new form and design the input types Give the action link in on other page ex: page.php submit the value and method will be post on other page watch the below coding 

<form method="post" name="dataform" action="fl-index.php">
<input type="text" class="search" name="contact-person" required="required">

step 2 :

Type the below php coding in action page Echo the value in  2nd form input type box value 

<?php  $name=$_POST['company-name']; ?>
<form method="post" name="getdataform" action="">
<input type="text" class="search" name="contact-person" value="<?php echo $name; ?>" required="required">


  1. This is my first time visit at here and i am in fact pleassant to read everthing at one place.

    my weblog; garcinia cambogi []

  2. Thanks very nice blog!

    my web-site Garcinia Total Diets