Can't recover data in php posted with a form tag.
| From: | Luc Roettgers | Date: | Fri, 29 Nov 2002 08:37:11 +0000 |
| Subject: | Can't recover data in php posted with a form tag. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-126455@lists.php.net to get a copy of this message | ||
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>
-->