Re: New PHP User with a simple question
| From: | Paul M Foster | Date: | Mon, 26 Jan 2009 14:25:41 +0000 |
| Subject: | Re: New PHP User with a simple question | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287142@lists.php.net to get a copy of this message | ||
On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote:
> Paul M Foster wrote:
> > <snip>
> > In case this has yet to be answered to your satisfaction...
> >
> > Your page will *have* to reload when the user presses the button, but
> > the majority of content can look the same, except for the content you
> > want to change.
> > </snip>
> >
>
> This is absolutely not true. You can make the button call a PHP script
> with AJAX and just update the textbox.
> Check out:
> http://xajaxproject.org
>
Please show me how *without Javascript* and *only with PHP* you can
change the content on a page interactively as the user described
*without* reloading the whole page. Xajax contains Javascript, which is
how it manages this feat.
For Pete's sake people, this is a *new* PHP user who wanted a *simple*
solution to a relatively simple webpage problem. He's not looking for a
Javascript solution, or a framework solution, or an OOP solution. He's
not necessarily looking for a bulletproof, high security solution. He's
a *new* PHP user. He just wants to figure out how to do this simple
thing. Give him a *simple* answer. If you have to give him provisos
about security, OOP, or Javascript afterward, fine.
Paul
--
Paul M. Foster