Related Articles
Speed up PhpStorm Right away
Are you using PHPStorm IDE, then see below simple tricks to speed up the performance of PhpStorm IDE. Speed up PhpStorm Contents show 1. Speed up PhpStorm 2. Make PhpStorm Faster 1. Turn on Power Save mode File -> Power Save Mode or using “Hector the Inspector” icon in the IDE status bar. This mode […]
Find Console in Firefox Google Chrome Apple Safari Internet Explorer and all Browser
Firefox http://getfirebug.com/ (you can also now use Firefox’s built in developer tools Ctrl+Shift+J (Tools > Web Developer > Error Console), but Firebug is much better; use Firebug) Safari and Chrome Basically the same. https://developer.chrome.com/devtools/index https://developer.apple.com/technologies/safari/developer-tools.htmlInternet Explorer Don’t forget you can use compatibility modes to debug IE7 and IE8 in IE9 or IE10 http://msdn.microsoft.com/en-us/library/ie/gg589507(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/dd565628(v=vs.85).aspx If […]
How to Check the Last Day in Month
Check the Last Day in Month $startDate = “20150624”;$endDate = “20150722”;$startDate = strtotime($startDate);$endDate = strtotime($endDate);$dayLength = 60 * 60 * 24;$checkDateRange = ($endDate – $startDate) / $dayLength;$datesStartMonth = date(‘t’, $startDate);if ($checkDateRange > $datesStartMonth) {echo $error = “Date range should be with in one month”;}

