Here i have attached a file name prime.php ,basically am reading input from a form and check whether no is prime or not....there is problem with code, its really working well for small nos upto 10(user input),if user enter above 10 like 11,100...its showing the following error
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\prime.php on line 25
Kindly i request you to have a look at code, n suggest me solution.
prime.php