Jan 12, 2004 #1 kazilian Programmer Nov 14, 2003 30 US is it possible to send 1 form's data to 2 completely separate .php files? thx in advance. kazilian Protector of Wazil
is it possible to send 1 form's data to 2 completely separate .php files? thx in advance. kazilian Protector of Wazil
Jan 12, 2004 #2 sleipnir214 Programmer May 6, 2002 15,350 US Nope. An HTML form may only submit its data to one script. It is possible, though, to have on PHP script include another using include(). Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
Nope. An HTML form may only submit its data to one script. It is possible, though, to have on PHP script include another using include(). Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!
Jan 12, 2004 #3 Bastien Programmer May 29, 2000 1,683 CA Or you could place the data into session variables and redirect to another page... OR combine the two scripts into one page (into functions) and use some if/then statements to code the flow into the functions... Bastien Any one have a techie job in Toronto, I need to work...being laid off sucks! Upvote 0 Downvote
Or you could place the data into session variables and redirect to another page... OR combine the two scripts into one page (into functions) and use some if/then statements to code the flow into the functions... Bastien Any one have a techie job in Toronto, I need to work...being laid off sucks!