Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Thank You I guess I should do a bit more reading about Queries Commented Dec 23, 2013 at 14:37
  • regarding problem 1 what should I do? Commented Dec 23, 2013 at 14:39
  • $stmt->rowCount() should work for you. If it doesn't you should post a new question showing the code you're using including that statement and an good example of when it is failing and what the results are when it does. That will help us troubleshoot it. Commented Dec 23, 2013 at 14:41
  • Hi,$stmt->rowCount() does work for me but I read about it not being reliable for other DB in Q/A so I thought its use may not be correct.I want your opinion on something do you think I should stop searching the net and find the various methods of PDO.Instead read it and about queries(i did read guess content did not pass to my brain well :*( ) Commented Dec 23, 2013 at 14:45
  • If it suits your purposes that's all you need to know. Don't worry about the other stuff until it actually affects your project. Commented Dec 23, 2013 at 14:47