Your query returns lots of results: http://www.google.com/search?q=php+code+to+read+from+the+database[^] In order to get good answers you should be able to show that you've already tried to solve things out or built something but perhaps encountered a specific problem which you would like solve with the help from people at discussion forums. One good rule of thumb is that typically the answers are as good as the question. I'm really confident that if you pinpoint an exact problem you'll receive quality help from the forums.