faqts : Computers : Programming : Languages : PHP : Sample Code

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

26 of 36 people (72%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Can PHP do math instantly, three fields, F1 value= 22, F2 user enters unit, F3 = F1 x F2 on F2entry

Aug 22nd, 2002 14:38
Dennis Voss, Guest,


Simple answer: No
Longer Version:
PHP is server-based software, so the user must submit F1 and F2 and the
server can send the result back.
What you're looking for can be solved with JavaScript.