Form results on the same page using XMLHTTPRequest?
- From: richbl@xxxxxxxxx
- Date: 19 Jan 2006 16:05:56 -0800
Hello,
I have a bit of a conceptual question.
I have a page at
http://beta.businesslearninginc.com/php_tools/test/XSLT_processor.html,
where the user fills in a form, and presses a button to process. At the
moment, I hand off to a separate PHP script file that processes and
returns data. Works fine.
But what I'd really like to do is hand off to a PHP script, process,
and return results to the originating page.
AND... I'd really like to do this where I have my PHP script file
separate from my HTML presentation file. So, having the HTML and PHP
script in the same file and calling itself with $_SERVER['PHP_SELF'] is
really not an ideal solution.
So my question is this: can I have a form on Page A (presentation) call
to Page B (PHP script), and return results back to Page A
(presentation)?
It'd be even better if I can do this without a complete page refresh
(possibly XMLHTTPRequest?).
thanks much,
rich
.
- Prev by Date: Re: Substr Error
- Next by Date: file errors
- Previous by thread: variable scope problem?
- Next by thread: file errors
- Index(es):