pdo
How can I make this PDO mysql query with if statements work correctly?
I am building a web site from scratch for a little project. I have stumbled across a little problem of mine and have scratched my head over it to no avail! Here is my code;[详细]
2023-03-30 05:19 分类:问答PDO updates only one row when used with placeholders
I have an array which holds multiple ids\'s, and i need to to update multiple columns. i am using MySQL IN() for that. the problem is when i use the query below it works perfectly fine.[详细]
2023-03-30 04:34 分类:问答Getting parse errors when building insert queries in PDO
new to PDO (version php-pdo-5.3.5-1.el5) and running into the following error when trying to use PDO for a MySQL insert:[详细]
2023-03-30 03:14 分类:问答Inserting in mySQL a JSON encoded value with special chars fails
I am trying to execute this query with PDO: UPDATE categories SET keywords = \'{\"bg\":[\"keyword1\",\"\\u0431\\u044a\\u043b\\u0433\\u0430\\u0440\\u0441\\u043a\\u0438 \"]}\'[详细]
2023-03-30 00:53 分类:问答Having an error with executing my query
Well, I\'m creating a registration system for my website but I\'m having trouble executing my query. I\'ve tried to troubleshoot the problem, but I\'ve had no success. Kind of confused :([详细]
2023-03-29 19:11 分类:问答PDO and pdo_mysql loaded but class not found
I have just moved to a VPS hosting from a shared hosting, so setting things up. I have installed the PDO and pdo_mysql modules. It is showed they are installed. I have restarted the apache server too.[详细]
2023-03-29 14:57 分类:问答What is wrong with this PDO query?
Ok I have a file called dbc.php running on my WAMP server. In that file, I am running the following PDO statements:[详细]
2023-03-29 08:29 分类:问答What's wrong with my prepared SQL statement?
I\'m new to using PDO and prepared statement so if I\'m doing this blatantly wrong please let me know :)[详细]
2023-03-28 23:32 分类:问答PDO script to get the amount of rows not working?
I\'m new to PDO PHP (just started today). I am attempting too write a login function, but it is returning false, even though i know the credentials are correct.[详细]
2023-03-28 22:30 分类:问答Are there any security benefits to using PDO::query vs. mysql_query?
I\'m looking to refactor some legacy PHP code, and I 开发者_Go百科know that PDO is more secure with the addition of prepared statements and such, but I am wondering if there are any security benefits[详细]
2023-03-28 19:27 分类:问答