Help me find Logical error in this php code

Printable View