1
h2oguyofnh
Adding calculators to a site?
  • 2005/10/14 1:20

  • h2oguyofnh

  • Just popping in

  • Posts: 19

  • Since: 2005/5/29


I'm building a site for my business. I'd like to find a way to install some calculators using php . I've got AMS installed on a site running 2.0.10 .

How can I build a form that will accept several variables and unit options to return a calculated figure? For example, I want to create a pipe volume calculator.

I have some idea that I would write a php script that is called by the page and returns the value. The unit multipliers would be in an array.

How am I doing so far?

Thanks!

2
gestroud
Re: Adding calculators to a site?
  • 2005/10/14 5:01

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


You might possibly find something on this site.

3
h2oguyofnh
Re: Adding calculators to a site?
  • 2005/10/14 9:40

  • h2oguyofnh

  • Just popping in

  • Posts: 19

  • Since: 2005/5/29


Thanks, I'll bet that will help. My question at this point: how do I call the calculation script by entering the form html directly into the submit news box? Am I correct in assuming that the whole page is generated via php that I don't need to put php tags (open and close) in? I may be using incorrect terms and this shows how much php I need to learn.

Thanks again.

ck

Login

Who's Online

159 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits