pdo
[Warning]: PDO::__construct(): MySQL server has gone away - wait_timeout not the cause?
I am hoping that someone on here can help with an issue I am having on a webserver. Currently the server hosts a web application which we have purchased for helpdesking. Every 8 hours when someone nav[详细]
2023-04-01 15:04 分类:问答Delete multiple rows with PDO and checkboxes using prepared statements?
I have this code, $q = $dbc -> prepare (\"SELECT * FROM tasks ORDER BY date_time LIMIT 0, 15\"); $q -> execute();[详细]
2023-04-01 13:27 分类:问答php SQL PDO->Fetch() issue
<?php $g_id=$_GET[\'gid\']; // $one = $pdo->query(\"SELECT * FROM contactgroups WHERE id=\".$g_id);[详细]
2023-04-01 04:14 分类:问答PHP::PDO opening/closing connections multiple times
Lets say I\'ve got a function that makes calls to PHP::PDO, the function opens a connec开发者_JAVA技巧tion, runs the MySQL, closes the connection, returns some data.[详细]
2023-03-31 23:11 分类:问答IP conflicts mysql
I am building a site where the users are allowed to have one account per IP. I am looking for a way to display users with the same IP using PDO mysql...[详细]
2023-03-31 19:09 分类:问答Admin panel script not functioning properly
The script is as follows... <?php // ########## GAME UPDATE FORM ########## if (isset($_GET[\'tab\']) && $_GET[\'tab\'] === \'gameupdates\') {[详细]
2023-03-31 18:58 分类:问答Using named parameters with PDO for LIKE
I am trying to search the name field in my database using LIKE. If I craft the SQL \'by hand` like this:[详细]
2023-03-31 17:52 分类:问答MySQL: error when query returns no results?
I have a query that looks like this: SELECT number FROM table1 INNER JOIN table2 WHERE name = \'stack_overflow\' AND table1.id = table2.id[详细]
2023-03-31 14:29 分类:问答PHP PDO: nextRowset on multiple rowsets on a prepared statement
I have the PHP script below which uses PDO to prepare and call a MySQL stored procedure. The stored procedure returns 2 rowsets. The 1st contains 25 rows. The 2nd contains 1 row. I can\'t seem to get[详细]
2023-03-31 10:32 分类:问答How does a pdo detect that there is no column in the database [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-31 08:54 分类:问答