cart.php
have that form
<form action="process.php" methodd="POST">

<input type="hidden" name="id" value='".$product_id."'>

<input type="hidden" name="name" value='".$name."'>

<input type="hidden" name="quantity" value='".$quantity."'>

<input type="hidden" name="hello" value='".$price."'>

<input type="submit" value="place order"/>

</form>


process.php
<?php
foreach($_POST as $key=>$value)

echo '$value';

?>
problem is at last i want to insert all posted 4 items in database but i don't know how to do this plz help meeee