In this tutorial we will delete a Row from database using Doctrine, lets do it with a simple example.
Converting to object oriented can be sometimes difficult as people are not used to it... same is the case with ORM, when you use it there may be some problems for the new comers.
Doctrine is a very powerful ORM for PHP application, this tutorial demonstrate how you can get the number of rows returned by Doctrine.Suppose we want to check if a user is valid or not, for that we need user name and password, here we are using symfony.
When you are debugging your code, it is very helpful to know what queries are executing at the database end, it helps a lot to simplify debugging.