Reply to Re: doing math with html

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация