Absolutely, but you wouldn't really be using PHP to do. Javascript
would be required to handle the real time display update. Javascript
could also to the calculations. If you want to query the server for
prices and have PHP do the calculations and spit back totals, you'll
need to use AJAX.
PHP only receives requests and spits out information. It has no idea
what is requesting the information or how it is being interpreted. If
could be a browser, perl script, or a javascript function. It makes
no difference to PHP. Thus, your question isn't a PHP question.
On Nov 18, 2005, at 11:39 AM, Chase wrote:
I am trying to build an order form for our clients to use to order
hardware
and software, or atleast get a price quote for such. The page is
done and
working using a FORM POST to a second page taht works on the
variables and
generates the totals.
That being siad, I have a field for total number of users that I
would like
to calculate the total of about five variables in real-time, before
the
submit button is activated. Is this possible?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php