PHP Script to print Diamond pattern!

Enter the limit: