In this chapter you will find examples for the various PDO use cases.
I am the only person to hold a gold badge in
on Stack Overflow and I am eager to show the right way for PHP developers.
Besides, your questions let me make my articles even better, so you are more than welcome to ask any question you got.
Click here to ask!
Please refrain from sending spam or advertising of any sort.
Messages with hyperlinks will be pending for moderator's review.
Markdown is now supported:
If you want to get a reply from admin, you may enter your Eómail address above
Hi. How can we count the number of columns of a table with sql pdo?
my php programs which worked fine on my local server are now no longer passing through "Post" data from forms on the production server. Do i need to alter the PHP config file, any help would be most appreciated.
is there safe way to use FILTER_VALIDATE_URL to validate URLs in PHP?
thanks again for your help
It depends on what do you call "safe". Generally, I would consider FILTER_VALIDATE_URL safe enough.
Hi ther im unable to find any good tutorial on php PDO. Im heaving trouble with inserting into database. I tryd namespaces and other method and always error : "no parameters were bound". If you have time to check my code, or give me a link of good course. im trying to create register and login.
thanks in advance!
Excellent tutorial, thanks. Could you recommend a book covering PDO and web programming in more detail?