> My forms page is named "submit.phtml"
> <form action="submit.phtml" method="post">
and if you use the <? echo $PHP_SELF; ?> then you don't even need to wory
about the file name, as it will always submit to itself...
<form action="<? echo $PHP_SELF; ?>" method="POST">
-js
> -----Original Message-----
> From: Curtis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 06, 2001 9:27 AM
> To: php
> Subject: [PHP] Which is better??
>
>
> Hello,
>
> I am wondering witch way is that best to go with my forms..
>
> Self Referenceing or have the data sent to another page for the
> processing.
>
> i.e.
> (option one)
> My forms page is named "submit.phtml"
> <form action="submit.phtml" method="post">
>
> OR
> (option two)
> My forms page name is "enterdata.phtml"
> <form action="submit.phtml" method="post">
>
> and it uses another page to submit the data.
> that displays "DATA SUBMITTED"
>
> Make sense?
>
> The reason I ask is that I am having problems making a field REQUIRED
> with option one.
> But all of my forms are set up that way.
>
> Thanks for any input.
>
> Curtis
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]