|
Posted by Jonathan N. Little on 05/22/07 16:07
lrbtav wrote:
> I need to do some simple math with a website. For example, I need
> about 12 input boxes, some need to take a value and multiply by
> another box, others need to be multiplied by a constant number. I have
> an excel spreadsheet doing this but need to put it on a website.
>
> What's the easiest way to accomplish this? Can I use html or do I need
> to use php or something? Thanks!
>
HTML is just markup, not a programing language...it just says this is a
paragraph, this is a list item, and this is a heading. What you need is
some sort of scripting,
1) JavaScript is client-side
PROS: fast updating of values because it works on the visitors computer
CONS: not dependable, the client may not have JavaScript enabled or
available.
2) CGI (Perl, PHP, ASP ...)
PROS: dependable, not dependent on client
CONS: requires values to be sent to server to be processed or updated.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|