How to choose a Password?

Hard to guess, easy to remember is the key rule. While choosing a password one should always remember that it should not be too obvious for people who know you to guess it out. It generally said that your password should be your name, last name, nick name, username etc. Most sites now prevent you … Read more

How to do Tree Pagination in PHP

A tree structure means nodes within nodes. By using MySQL and PHP you can read a database then fetch records recursively. By taking an example we can understand it better. There is a table Category with records for categories and sub-categories. There are 3 columns: Id, Name, Parent Id and records are: [php] 1, A, … Read more

How to do Pagination in PHP easily

Pagination in PHP is easy and you can show pagination by following code. There are 4 files (don’t go to the number of files, separate sfiles have been created so that you can easily understand the code), I could have combined it in 1 but 4 seems to be better. These are: index.php, paging.php, function.php, … Read more

Accessing MySQL Access from different host

I was working in PHP and MySQL. My database interface is PHPMyAdmin. Everything was working fine and some issues came when I was trying to access my site from other computer in LAN. Later these issues were resolved, so I thought to share them. Initially, when I tried to open The Site on another local … Read more