Re: Setting up a text file database
| From: | phobo | Date: | Fri, 02 Feb 2001 22:09:13 +0000 |
| Subject: | Re: Setting up a text file database | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5354@lists.php.net to get a copy of this message | ||
Don't support SQL databases? What *do* they support?
>I just want to collect data and use
>the submitted data to determine the content of the next form
If thats all you want to do; you don't even need a database or a text file
at all, eg:
--Page1.php---
Name [ ]
Email [ ]
etc .....
<<button to go to next page, <FORM ACTION=page2.php>>
------------
--Page2.php--
All the things they just sent are now variables. Eg, if the Email text input
was written like: <INPUT TYPE=TEXT NAME=EmailAddr> then you can use
$EmailAddr as a variable now.
-------------
And finally, when the user gets to page5, yuo can have those results EMAILED
to you (or to them!) or something ... see www.php.net/mail
Siggy
----- Original Message -----
From: "Honey Gastauer" <hgastauer@mindspring.com>
To: <php-windows@lists.php.net>
Sent: Saturday, February 03, 2001 6:46 AM
Subject: [PHP-WIN] Setting up a text file database
> I am working on a multiple page/multiple form web survey (still). It is
set
> up on a host server that does not allow any type of SQL database. So, I
> want to send my results to a text file instead. There is no need to
"query"
> the database (as I understand query). I just want to collect data and use
> the submitted data to determine the content of the next form and the next.
> It is also necessary to display data from form1 on form2 and form3. Does
> this require a query? Can I use a text database to do this? If so where
> can I find information on how to do this?
>
> I have been unable to find any reference on the web to setting up a text
> database or using php with a text database. Maybe I haven't looked in the
> right place.
>
> I may have gotten the cart before the horse when building this web survey.
> My web prescense provider (Mindspring turned Eathlink) has been giving me
> pits and pieces of information at a time which I have used in the order it
> was feed to me. First, they don't support asp, but they do support php for
> databasing (change direction), but they don't support php4 just php2 and 3
> (change direction), though they support databasing they don't support SQL
> databases (change direction). I feel like I'm searching for the corner in
a
> round room.
>
> Can anyone direct me?
>
> BTW: I'm have no formal training in scripting/programming. I am learning
as
> I go--driven by necessity. Please provide any information in a "for
> Dummies"--no wait more like a "for idiots" format.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>