Question: urgent (both HTML page & PHP page)! A customer wants to sum up all the numbers inside a string. Write the source code of an
urgent
(both HTML page & PHP page)!
A customer wants to sum up all the numbers inside a string. Write the source code of an application (both HTML page & PHP page) that accepts the text(string) by an html form and displays the grand total (prints via php page) on the page.
Sample:
if input text is: There were 45 chickens, 5 cows and 12 horses in the farm.
Output should be: 62
Hint:Think about explode function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
