[PHP] PhP Javascript Mixed Repost Fields

2002-04-01 Thread Simos Varelakis



Here is a problem :-)

A php post form fooa.php 
Submit all form fields to a page foob.php
Page foob.php do some mysql db check and in one condition I want to
Return to fooa.php without losing any field value... I made this from
foob.php with
header:(location:fooa.php?field1=$field1field2=$field2.etc)
But this is more complex esspecially when in fooa.php there are radio
buttons + checkboxes.

I thing that if I could with Javascript in foob.php create an (invisble)
form and take all posted fields from 
Fooa.php And resubmit it with form.submit  method to fooa.php I will
have best results But I don’t know how to do this since I am a
begginer.. Anyone can help please send me an email 

Thanks in advnace for your time  help and excuse me if is off topic

Best Regads

simos




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PhP Javascript Mixed Repost Fields

2002-04-01 Thread Jackson Miller

That seems like over complicating the problem to me.

Why not just include the original query string that was passed from
fooa.php by:
header(Location:foa.php?$QUERY_STRING)

-Jackson

On Mon, 2002-04-01 at 12:28, Simos Varelakis wrote:
 
 
 Here is a problem :-)
 
 A php post form fooa.php 
 Submit all form fields to a page foob.php
 Page foob.php do some mysql db check and in one condition I want to
 Return to fooa.php without losing any field value... I made this from
 foob.php with
 header:(location:fooa.php?field1=$field1field2=$field2.etc)
 But this is more complex esspecially when in fooa.php there are radio
 buttons + checkboxes.
 
 I thing that if I could with Javascript in foob.php create an (invisble)
 form and take all posted fields from 
 Fooa.php And resubmit it with form.submit  method to fooa.php I will
 have best results But I don’t know how to do this since I am a
 begginer.. Anyone can help please send me an email 
 
 Thanks in advnace for your time  help and excuse me if is off topic
 
 Best Regads
 
 simos
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php