Re: [php-list] Re: Form submit

2005-12-02 Thread Patrick Bierans
sure. as long as logic comes before output you can output "file" content by using header() and piping the file's content. - Original Message - From: "Gurudatta Raut" <[EMAIL PROTECTED]> To: Sent: Friday, December 02, 2005 8:24 AM Subject: Re: [php-li

Re: [php-list] Re: Form submit

2005-12-01 Thread Gurudatta Raut
Is it possible to submit a form without page refresh and get the returned page as an object or stream ? sorry for being a newbie but with above possibility we can AJAX better. __ Enjoy this Diwali with Y! India Click here

[php-list] Re: Form submit

2005-12-01 Thread viewcharts
Hey Patrick, Thanks for your help on the form submit. It's working perfectly now. Wes Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/HKFolB/TM -

Re: [php-list] Re: Form submit

2005-12-01 Thread Patrick Bierans
in this case the code gets not executed at all. look out for comments or includes - Original Message - From: "viewcharts" <[EMAIL PROTECTED]> To: Sent: Thursday, December 01, 2005 9:34 PM Subject: [php-list] Re: Form submit >> place a print_r($_REQUEST) in front

[php-list] Re: Form submit

2005-12-01 Thread viewcharts
> place a print_r($_REQUEST) in front of the switch{} - are you getting > expected data? I tried the print_r($_REQUEST) and nothing prints I would attach the 3 files if yahoo would let me Yahoo! Groups Sponsor ~--> Fair play? Video games influe

Re: [php-list] Re: Form submit

2005-12-01 Thread Patrick Bierans
> For some reason the code isn't printing the stuff in the case > statements. place a print_r($_REQUEST) in front of the switch{} - are you getting expected data? Yahoo! Groups Sponsor ~--> 1.2 million kids a year are victims of human trafficking.

[php-list] Re: Form submit

2005-12-01 Thread viewcharts
Thanks for the help, For some reason the code isn't printing the stuff in the case statements. This is the code for the html HTML: This is the code for the php PHP: if (iss_array($_REQUEST['action'])) $action=current(array_keys($_REQUEST['action'])); else $action='d

Re: [php-list] Re: Form submit

2005-12-01 Thread Patrick Bierans
I don't understand. You decide which actions you want to perform. you can link one button to more than one action. >> switch ($action) >> { >> case 'chat': >> perform_action_chat($_REQUEST); >> break; >> case 'default': // next >> default >> perform_action_default

[php-list] Re: Form submit

2005-12-01 Thread viewcharts
Will this form post in the same page at the bottom or will it overwrite the page, which is what I'm trying to avoid. --- In php-list@yahoogroups.com, "Patrick Bierans" <[EMAIL PROTECTED]> wrote: > > > > > No. (Add more "o"'s for dramaturgic delay effects like in cliffhanger) > > > >