Re: forms

From: Date: Wed, 04 May 2005 00:52:19 +0000
Subject: Re: forms
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-214388@lists.php.net to get a copy of this message
Thanks for the info, but do I create the form in front page then? Where does this script go? Do I save the php you sent as a results page? thanks, Lisa A "Jason Barnett" <jason.barnett@telesuite.com> wrote in message news:20050503201245.16808.qmail@lists.php.net... > Lisa A wrote: >> Does anyone know of a good easy php script or Form that we can use with >> Front Page. >> We need a form to get results, that actually sends the results in a >> format that is easy to read. >> Not all run together with no spaces, etc. like the Front Page forms. >> Thanks, >> Lisa A > > <?php > > /** File Action.php > * This page should be the action for your form page > */ > > /** Formatting */ > echo '<pre>'; > > /** Print out form vars */ > print_r($_GET); > print_r($_POST); > > /** Not 100% accurate, but an alternative if you're lazy */ > print_r($_REQUEST); > > /** Just for completeness, the closing tag */ > echo '</pre>'; > > ?>

« previous php.general (#214388) next »