RE: [PHP] Result in the same page

2003-02-16 Thread Cal Evans
ECTED] Subject: Re: [PHP] Result in the same page Cal-- I just posted this reply to your reply on php.general. --John From: [EMAIL PROTECTED] (John Hicks) Newsgroups: php.general Subject: Re: [PHP] Result in the same page References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

RE: [PHP] Result in the same page

2003-01-18 Thread Cal Evans
Yes, just user $_SERVER['PHP_SELF'] as the action of your form. This will cause the page to call itself. Then you can branch your processing on the existence of a SUBMIT button (or whatever) and handle the query. I do all my pages this way because it keeps all the code in a single page. It's easie

Re: [PHP] Result in the same page

2003-01-18 Thread Jason Wong
On Saturday 18 January 2003 20:11, Ezequiel Sapoznik wrote: > It is possible to run a query in php when the user press a button an return > the result in the same page? Yes. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting *