how to use the same file...
| From: | Christian Dechery | Date: | Sat, 25 Nov 2000 14:11:28 +0000 |
| Subject: | how to use the same file... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27150@lists.php.net to get a copy of this message | ||
How do I get PHP to build a form and process it in the same blabla.php???
like... if you go to "http://www.somewhere.com/blabla.php"
it would only show the form to fill up, and the form action would be "blabla.php"... it's that PHP_SELF stuff right?
but how can I tell if there where no GET parameters... should I check QUERY_STRING or is there a better way of doing it?
____________________________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer