Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day to all,

Can you help me?

I want to make a 'submit form information' using php.

Can you give me a code, sites or a project build?

Please can you help me?:(

UPDATE from OP:
here is the code:
this is my first form
XML
<html>
<head>
<title>Submitting Form Information</title>
</head>
<body>
<form name="html" action="ex1output.php" method="post">
<table border=5 cellspacing=0 cellpadding=3>
<tr><td>
Customer's Name:
<td>
<input type="text" name="name">
<tr><td>
Item Bought:
<td>
<select name="item">
    <option >Grocery Package 1</option>
    <option >Grocery Package 2</option>
    <option >Grocery Package 3</option>
    <option>Grocery Package 4</option>
</select>
<tr><td>
Quantity:
<td>
<input type="text" name="quant">
<tr><td>
Mode of Payment:
<td>
<input type="radio" name="rad1"><FONT SIZE=3>Cash</FONT></input>
<input type="radio" name="rad2"><FONT SIZE=3>Credit Card</FONT>
<input type="radio" name="rad3"><FONT SIZE=3>Cash On Delivery</FONT>
<tr><td>
Discount Types:
<td>
<input type="checkbox" name="check1" value=1><FONT SIZE=3>Senior Citizen</FONT>
<input type="checkbox" name="check2" value=2><FONT SIZE=3>Membership Card</FONT>
<input type="checkbox" name="check3" value=3><FONT SIZE=3>Photo Values</FONT>
<tr><td colspan=2 align=right>
<input type="reset" value="Reset">
<tr><td colspan=2 align=left>
<input type="submit" value="Submit">
</table>
</form>
</body>
</html>


and this is my second form:
XML
<html>
<head><title>Output</title>
</head>
<body>
<?php
$name= $_POST[name];
$Item = $_POST[item];
$quant= $_POST[quant];
if($_POST['item'] == 1){
$_POST['item'] = 'Grocery Package 1';
}else if($_POST['item'] == 2){
$_POST['item'] = 'Grocery Package 2';
}else if($_POST['item'] == 3){
$_POST['item'] = 'Grocery Package 3';
}else if($_POST['item'] == 4){
$_POST['item'] = 'Grocery Package 4';
};
?>
<table border=10 cellspacing=0 cellpadding=3>
<tr><td width="78">Name
<td width="262">
<?=$name;?>
<tr><td>Item Bought
<td>
<?=$Item;?>
<tr><td>Quantity
<td>
<?=$quant;?>
</table>
</body>
</html>

can you help me to connect these
$name= $_POST[name];
$Item = $_POST[item];
$quant= $_POST[quant];

It can't show the output of my form1..
and also can your help me to connect to the database?

THANK you!!!
Posted
Updated 7-Sep-10 7:43am
v3
Comments
Dalek Dave 7-Sep-10 7:15am    
Edited for Readability and Grammar.
Sandeep Mewara 7-Sep-10 13:45pm    
Updated question (using OP's fake answer - now deleted)

What have you done so far?

Can we see the code?

We can help but need more specifics.
 
Share this answer
 
can you help me again...


i have a 2 form..the second form has a table...my question how to multiplicate the table when i am in my first form and i want 2 type 3 table then the table in the second form makes three and if i type 2 table the second form appear 2 table also...


please help me...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900