As you know, PHP can't do the work becuase it is on the server side, not hte client side. Meaning, when the server side is finish, all done, then it go directly to the client side (web browser). If you want PHP to do something then you'll have to do something to the webpage, like a click button or something to send it back to the server side. So, that's where Javascript come into play. Javascript is the client side and it can detect things for you and do the work for you. Hope that help!
FletchSOD "Steve Bradwell" <[EMAIL PROTECTED]> wrote in message 57A1618E7109D311A97D0008C7EBB3A1010C81F0@KITCHENER">news:57A1618E7109D311A97D0008C7EBB3A1010C81F0@KITCHENER... > Well, I'm not sure if this is what your looking for but the simplest way > might be to use JavaScript. Have the second form that you want to post > without a submit button being clicked have an onSubmit event. So on submit > of the first form, javascript will submit the second without the user > clicking a button. Check this link. > > http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onsubmit.html > > Hope this helps, > -Steve. > > > -----Original Message----- > From: MindHunter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 2:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Submit code > > > I am looking for PHP code that will submit (post) a form automaically to a > ANOTHER php page. I do not want to press a submit button. I have found a > class at PHPClasses but it is too complicated for my needs. What is the > simplest way of doing this? What is the theoretical approach? > > The reason I need this is that I have a table output from a database after > one submits 'n list of variables (form inputs). I want to update a graph in > another Iframe automatically without clicking on another submit button. > > Tx > MH > > > > -- > 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