Re: Invoke PHP script from onLoad handler?
| From: | Kristofer Widholm | Date: | Sun, 28 Jan 2001 07:28:35 +0000 |
| Subject: | Re: Invoke PHP script from onLoad handler? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37188@lists.php.net to get a copy of this message | ||
Here's what you wrote, 01-01-27:
OK, I've gone back through the archives and now understand the situation with client- and server-side. I just wasn't thinking it through. Spawning a window to let PHP query the db and somehow passing returned values back to the parent window is something I could do, I suppose, but it seems that what I and the other zillion people who keep asking the same question need is a way to get to our databases using a client-side technology like Javascript.If it's not an enormous amount of data the user will be working with, and they're just reading it and not inputting new values (a set number of options, etc.), you could just load all the data into JavaScript arrays at the initial load. Whenever a part of any form or window is changed, the displayed data would be changed as well via JavaScript, without the need for any database query. Kristofer -- ______________________________________ Kristofer Widholm Web Pharmacy webpharmacy@brokenhill.net 191 Grand Street, Brooklyn NY 11211 718.599.4893 ______________________________________