Showing posts with label add edit and delete in pdo in php. Show all posts
Showing posts with label add edit and delete in pdo in php. Show all posts

Thursday, March 19, 2015

Student Address Book Using PDO in PHP

As a software engineer my main forte is web design and development particularly using PHP in the past I used procedural programming in PHP until now is some small not critical projects I'm still using this type of programming paradigm but when I try to learn how to program using PHP frameworks like Codeigniter, Zend, CakePHP it gives me a headache because I don't know object oriented programming in PHP. In order for me to overcome my weakness I study PDO of PHP Data Objects that gives me an edge and knowledge how to work on those PHP frameworks with some confidence. 

PHP Data Objects now a days is very hard to ignore primarily because all PHP Frameworks works with the concepts of object oriented programming paradigm and Design Patterns. Using prepared statement in PDO help us also to overcome SQL injection attacks in our websites. In this article I would like to share with you a simple program that I wrote using PHP Data Object to add, edit, delete and view student records in our address book. The code is very simple yet enable us to understand the inner working of PDO interaction with our MySQL database.  I hope you will find my work useful and beneficial in your learning in PHP programming and development.

If you have some questions please send me an email at jakerpomperada@yahoo.com and jakerpomperada@gmail.com

People here in the Philippines who wish to contact me can reach me at my mobile number 09173084360