Skip to main content

Questions tagged [pdo]

PDO is a PHP extension that serves as a data access abstraction layer for accessing databases.

6 votes
3 answers
550 views

I have created following php PDO wrapper class with the help of google and other some websites and my little knowledge. I will use this for less coding work without change whole previous coded ...
Sing O Song's user avatar
2 votes
1 answer
168 views

The code below is modified slightly from the code in this previous post. I believe the code below could be improved and more secured but i don't know how so someone please show me how an improved ...
Bebo's user avatar
  • 47
2 votes
2 answers
305 views

I'm working on implementing a pagination system with search functionality using PHP and PDO. The code I've written seems to work, but I want to ensure that I'm following best practices and avoiding ...
user275476's user avatar
1 vote
1 answer
424 views

so Im trying to wrap SQL INSERT statements to PDO transaction in PHP OOP. I don't know if I'm doing it right and this is the best/easiest way to do it. So what is important for me is: There can be ...
kviktor1230's user avatar
5 votes
3 answers
324 views

I have this DB class that extends PDO, that also has useful functions for certain tasks; I was wondering how well it's coded, and if so, what I could maybe improve on. I tried commenting in ...
Crimin4L's user avatar
  • 153
1 vote
1 answer
109 views

So, in this example I have to make these changes in my tables: Select Product Data => SKU, QTY Insert into shipping_back table Update in shipping_back to current date Update in customers to ...
kviktor1230's user avatar
7 votes
2 answers
287 views

I have recently learned about using the functions exposed by the PDO extension. I created a db class which can handle common actions like create, update, delete and select. Is this method a correct ...
Sanidhya's user avatar
  • 173
4 votes
2 answers
235 views

This is my first time using commit and rollback. I just need to know if this is a proper execution of the functions for this particular situation: ...
John Beasley's user avatar

15 30 50 per page
1
2 3 4 5
23