Monthly Archive:: February 2017

split php array into smaller chunk

In this post we will splitting an php array into smaller chunk might be useful for setting up a report, calendar or pagination on a site. Either way there are numerous ways to do this but the following seems to be the quickest and most reliable method. Function to split an php array into smaller

1045 – Access denied for user ‘root’@’localhost’ (using password: YES)

While dealing with phpMyAdmin for novice user, sometime you unable to login into mysql using the mysql console. It throws #1045 - Access denied for user 'root'@'localhost' (using password: YES) error on screen. If root@localhost wasn't granted the necessary rights to access the database or you provided the wrong password, you will then encounter this error.