Bastien Koert wrote: > On Mon, Jan 26, 2009 at 9:25 AM, Paul M Foster <paulf@xxxxxxxxxxxxxxxxx>wrote: > >> 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 >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > The only real way then to avoid a page refresh with just PHP / HTML (for the > links) would be to use (i)frames and load the new content into the frame > Buy hey, that ability was here long before PHP was ever around, so that would not work either... :P -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php