The Astroman
Active Member
Hey all!
I'm trying to write some sort of script for my website, but have no idea in what language I could do it, and I'm sure such a script already exists for me to use.
Basically, I have a drop-down menu with multiple options (for example, "Type of Restaurant"), and then a field where one can enter a number (for example, "Number of diners"), and then I would like the script (php, Javascript or whatever) to display something like: "The total amount to be paid is $ xx" where xx depends on the option chosen from the drop-down menu and the number entered.
Can anyone help me with this, specifically indicate with what language this could be done (I briefly overlooked PHP although I don't know if it could fit the bill) or even better, tell me where I could find the script already done.
I'm trying to write some sort of script for my website, but have no idea in what language I could do it, and I'm sure such a script already exists for me to use.
Basically, I have a drop-down menu with multiple options (for example, "Type of Restaurant"), and then a field where one can enter a number (for example, "Number of diners"), and then I would like the script (php, Javascript or whatever) to display something like: "The total amount to be paid is $ xx" where xx depends on the option chosen from the drop-down menu and the number entered.
Can anyone help me with this, specifically indicate with what language this could be done (I briefly overlooked PHP although I don't know if it could fit the bill) or even better, tell me where I could find the script already done.