small PHP function
Posted on 2012-03-11
Two text box inputs on the page:
1. Number that i want to count to
2. Numbers that i want to highlight separates by commas
The goal is to display the numbers that i want to count to( though to use the exploded in PHP) and highlight in a color the numbers in the second text box.
the number that i inserted in the count to text box is a 100 and the number that i want to highlight is 15 and 20. As a result i will get a table displayed on the page with numbers from 1 to 100 in a table format and the numbers 15 and 20 would be highlighted in a color.