Ihave set up one simple order html site sending the info to a php site called
process.php. It works and after filling in the form i get the thankyou you orderd
on the process php site but what i dont get is where do i get the info that the
website visitor submits in the form? Where do i as website administrator acess
the info provided? The code for the html and php site below maybe somebody
can help me? I get that the process.php site tells the person that makes
the order that he orderd but how do i get the info?? Im a total beginner at
php but trying to learn some easy scripts.
Thanks in advance / Nolimitman
order.html code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<div id="Layer1" style="position:absolute; width:320px; height:115px; z-index:1; left: 51px; top: 26px;"><html><body>
<h4> </h4>
<div id="Layer1" style="position:absolute; width:580px; height:115px; z-index:1; left: 18px; top: 137px;">
<html>
<body>
<div id="Layer1" style="position:absolute; width:476px; height:115px; z-index:1"><html><body>
<h4>Tizag Art Supply Order Form</h4>
<form action="process.php" method="post">
<select name="item">
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>
Quantity: <input name="quantity" type="text" />
<input type="submit" />
</form>
</body></html>
</div>
<h4> </h4>
</body></html>
</div>
</body></html>
</div>
</body>
</html>
php process.php code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 114px; top: 38px;"><html><body>
You ordered 44 Brushes.<br />Thank you for ordering from Tizag Art Supplies!</body></html>
</div>
</body>
</html>