printing records php mysql source code