![]() |
Translate from BASIC to PHP?
This is a simple calculator written in BASIC for drag racing.
Can anyone translate this to PHP or point me to a good tutorial? --------------------------------------------------- Code:
CONST Loss = .75 'Drivetrain loss Then I need to figure out how to imbed it in our vB board in our drag race forum. |
In a web environment, you can't really replicate that directly. In a command line environment, you could. You'd need a HTML form that takes in the data, and then process the rest of it on the server.
For simplicity's sake, I'd look at just doing it in JavaScript unless you actually need to store these results. |
Thanks!
|
I didn't test it, but I would imagine this does the trick or at least gets you on your way.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
Thanks!
|
All times are GMT. The time now is 01:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|