Re: [PHP-DB] double "posts"
At 12:53 PM 2/16/01 -0800, Marc Bragg wrote: > >Is it possible to post to two forms with one click, one post command? >What would statement look like? I've long wanted to do this but never found something to do it. Usually it is for something where I am submitting it to someone else but want to keep what I submitted. Thus far I make do by sending it to a page of mine, which saves it in my database, then sends it on again via hidden fields to the end place. It does require an extra click from the user, though... If there is a way to do this I'd be interested but I haven't found one... = "To dwell within Samsara, however, is to be subject to the works of those mighty among dreamers." - Mahasamatman, in Zelazny's "Lord of Light" Andrew Apold -- PHP Database 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]
Re: [PHP-DB] double "posts"
You can have multiple SUBMIT buttons (one for 'save', one for 'cancel' etc). if you have a button called 'SAVE', then a varable called save will be set in the script. eg, have the html: on the initial page. then you can do, on the script which is called: if ($SaveRecord) { echo "saving record "; echo "done"; } elseif ($EditRecord) { echo "Enter your details again..."; echo "Username: "; } else { echo "you chose to do something else." } Siggy - Original Message - From: "Marc Bragg" <[EMAIL PROTECTED]> To: "phobo" <[EMAIL PROTECTED]> Sent: Saturday, February 17, 2001 10:42 AM Subject: Re: [PHP-DB] double "posts" > Well, I have a form that user inputs information to, then when post is > pressed, it submits info to database. I wanted the information first to be > submitted to a new screen to review the information (presuming most people > make mistakes on their first try), and then click back to revise if not > correct, or simply submit then if correct. > > phobo wrote: > > > No you cant. > > > > What are you trying to do? > > > > Siggy > > > > - Original Message - > > From: "Marc Bragg" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, February 17, 2001 9:53 AM > > Subject: [PHP-DB] double "posts" > > > > > > > > Is it possible to post to two forms with one click, one post command? > > > What would statement look like? > > > > > > > > > -- > > > PHP Database 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 Database 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 Database 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]
Re: [PHP-DB] double "posts"
Using a JavaScript function instead of the "action" form property I think is possible . HTH. Jayme. -Mensagem Original- De: Marc Bragg <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Enviada em: sexta-feira, 16 de fevereiro de 2001 17:53 Assunto: [PHP-DB] double "posts" > > Is it possible to post to two forms with one click, one post command? > What would statement look like? > > > -- > PHP Database 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 Database 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]
Re: [PHP-DB] double "posts"
No you cant. What are you trying to do? Siggy - Original Message - From: "Marc Bragg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 17, 2001 9:53 AM Subject: [PHP-DB] double "posts" > > Is it possible to post to two forms with one click, one post command? > What would statement look like? > > > -- > PHP Database 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 Database 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-DB] double "posts"
Is it possible to post to two forms with one click, one post command? What would statement look like? -- PHP Database 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]