/    Sign up×
Community /Pin to ProfileBookmark

creating a surface area calculator

hello..
i am currently creating a website for a ceramic tiles company, my problem is that i have to make a calculator which calculates the surface area of a certain room with x amoout of walls. the design format is in:
Wall 1. surface length … metres … cm
surface width … metres … cm
Wall 2. surface length … metres … cm
surface width … metres … cm
Wall 3. surface length … metres … cm
surface width … metres … cm and so on..
where the … indicate input from the customer, the addition of all the walls will give an estimate of the total surface area of the room.
i was wondering if any one has any idea of how i go about doing that, i can use either javascript or php.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJan 22.2006 — Seems pretty straight-forward: create a form where the user enters the dimensions, then a form-handler script that does some basic multiplicaton and addition to calculate the area.

Is there some specific part of this you need help with?
Copy linkTweet thisAlerts:
@mohammed_hajatauthorJan 24.2006 — yep.. pretty much need help with the whole thing.
×

Success!

Help @mohammed_hajat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...