Re: Can't recover data in php posted with a form tag.
| From: | Jeff | Date: | Fri, 29 Nov 2002 09:01:39 +0000 |
| Subject: | Re: Can't recover data in php posted with a form tag. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126457@lists.php.net to get a copy of this message | ||
<FORM action='doSQL.php' method='POST'>
try that
jeff
"Luc Roettgers" <rol@provencale.lu> wrote in message
news:002401c29782$8300de10$3b09c881@rolxp...
I have 2 files runQuery.php and doSQL.php, where the first one is posting
data entered by the user to the second page and displaying it but the data
never arrives. Any idea why this would not work, maybe some configuration
issue?? Any help is really appreciated...
<!--
<!-- runQuery.php -->
<DIV align="left">
<FORM name="sql" method=post action="doSQL.php">
<INPUT type="text" name="clSQL"
size="50"><BR><BR>
<INPUT type="submit" name="submit" value="Lancer
requète">
<INPUT type="reset" name="reset" value="Effacer"><BR>
</FORM>
<I class="normal">i.e. select * from scpsft</I>
</DIV>
<!-- doSQL.php -->
<HTML>
<BODY bgcolor="#efefde">
<H1>Résultat de la requète:</H1>
<?PHP
echo ($clSQL);
?>
</BODY>
</HTML>
-->