I have a Text box containing below in "code"
i want to be able to do the following with a button & display to the user: ( or on the fly Inside a label would be nice!)
1. Add up amount of Lines [Display "there are X lines in this Textbox"
2. For every line including (number) Add up 0.5 seconds for each line & then Then Add up each (Number) with the amount inside
For example below
Commands would be (0.5 x 3)
(Numbers) Would be (2.5 + 0.5 + 3.5)
Commands + Numbers = Display this number to user in Hours/min/seconds
im not to sure how to approach this?
How would i add lines & add numbers?
How would i get it ignore the ()?
i want to be able to do the following with a button & display to the user: ( or on the fly Inside a label would be nice!)
1. Add up amount of Lines [Display "there are X lines in this Textbox"
2. For every line including (number) Add up 0.5 seconds for each line & then Then Add up each (Number) with the amount inside
For example below
Commands would be (0.5 x 3)
(Numbers) Would be (2.5 + 0.5 + 3.5)
Commands + Numbers = Display this number to user in Hours/min/seconds
im not to sure how to approach this?
How would i add lines & add numbers?
How would i get it ignore the ()?
PHP Code:
Go To Menu
(2.5)
Go To Function 1
(0.5)
Go To Function 2
(3.5)