Re: PHP/Javascript

From: Date: Sun, 20 May 2001 19:42:40 +0000
Subject: Re: PHP/Javascript
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7772@lists.php.net to get a copy of this message
Mike is right - It's best to process everything on the server side and update the client side after everything has been updated (database, etc.) This requires some more coding (setting the drop boxes, text boxes to the same values that the user chose before "submitting"), but it's the safest way to go. -C "Bob Sears" <rsears@onet.net> wrote in message news:4.2.0.58.20010519075018.009e5c70@sam.on-net.net... > This is what my screen looks like: > > I want to order ... > description image dropdown box @ 7.95 each = [text box] > containing 0-20 > numerics > > I had been contemplating using Javascript to perform the text box extension > of the quantity * rate calculation. However, the > need is to also update a MySQL table with the session tracking number and > other pertinent information about the selection > so a purchase order can be written in a subsequent module. > > Can this be done with straight PHP or will it require a mix of Javascript > for the calculation and PHP for the data base update? > If so, what might the code look like? > > Bob > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#7772) next »