Hello,
in the example on the bottom of this email I try to
make an inquiry from my form to a PHP script and get
the response, created by the PHP script, back into my
form.
Does anyone know what I am doing wrong?
Any hints from you are welcome,
regards,
Darya
Here the 2 PHP files:
1) irtest.php:
<HTML>
<HEAD>
<TITLE>Inquiry - Response - Test</TITLE>
</HEAD>
<BODY>
<H1>Inquiry - Response - Test</H1>
<FORM ACTION="inquiry.php" METHOD="POST">
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0
WIDTH="220">
<TR>
<TD><INPUT TYPE="TEXT" NAME="Inquiry"
ALIGN="LEFT"></TD>
<TD>
<INPUT TYPE=SUBMIT NAME="Submit" VALUE="Inquiry">
</TD>
</TR>
<TR>
<TD>
<INPUT TYPE="TEXT" NAME="Response" ALIGN="LEFT">
</TD>
<TD> </TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
2) inquiry.php
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php
$inquiry = $_POST["Inquiry"];
$response = $inquiry.' successfull returned';
echo $response;
?>
</body>
</html>
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
M�chten Sie mit einem Gru� antworten? http://grusskarten.yahoo.de
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php