Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
0 answers
37 views

I have some PHP pdo code that is copying data from one table (wp_posts) to another (a relational table structure). This is in the same schema with default CHARSET=utf8mb4 COLLATE=...
-1 votes
0 answers
124 views

I have 2 tables customers and addresses (each customer can have many addresses) The customers table has two fields of interest: userName (varchar) userID (varchar) The addresses table has two fields ...
4 votes
3 answers
166 views

I am connecting to an Excel file from PHP via PDO. When executing a query, Excel returns data, but it defines the first row of results as column names. How do I make Excel return all rows, including ...
4 votes
2 answers
917 views

How do I correctly deal with 1020 errors within a transaction in MariaDB? I recently encounter 1020 "Record has changed since last read in table" errors on code that run without this error ...
Benedikt's user avatar
  • 332
-1 votes
1 answer
94 views

MySQL has 2 tables with the same rows. For an edit I need one TreeList without true leafs and edit the true leafs separately in a Grid and for the Employees i need one TreeList with the true leafs. It ...
Kijupo's user avatar
  • 25
1 vote
1 answer
109 views

I'm encountering a warning when I try to run my Laravel 11 project using the command php artisan serve. The error message is as follows: PHP Warning: PHP Startup: Unable to load dynamic library '...
tanzeem's user avatar
  • 181
-1 votes
1 answer
206 views

I have an application with a search bar. With the code I have right now, if someone enters the value book 1: conquest into the search bar, the SQL query looks for a column value of ALL the words in ...
-1 votes
1 answer
126 views

I'm working on a Laravel 8 project that connects to Microsoft SQL Server 2017 (running on Windows Server 2012 R2) using PHP 7.4.9 and the sqlsrv/pdo_sqlsrv drivers. My goal is to insert Unicode ...
2 votes
0 answers
149 views

I got the following error on a simple select query: [21-May-2025 20:20:52 America/New_York] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (...
rolinger's user avatar
  • 3,196
0 votes
0 answers
131 views

I have Ubuntu 24.04 and php 8.3. I'm trying to connect to an Access DB through PDO ODBC running on the command line. Here is what I have enabled: $ php -i | grep PDO PDO PDO support => enabled PDO ...
0 votes
2 answers
174 views

What I have: I have a dynamic pivot table in SQL Server named "tis_temp_dsr" that currently holds the following information: customer_no customer_name jan2025 feb2025 mar2025 total ...
Mir's user avatar
  • 1
1 vote
0 answers
41 views

I would appreciate it if someone could share a similar experience and/or solution to this problem. I have this setup for the php dev environment Mac running apache2.4/php7.4/freetds1.4.26/php-pdo-...
1 vote
1 answer
138 views

I'm trying to use Psalm to detect SQL Injections. I have the following code : $pdo = new PDO("mysql:host=db;dbname=tp;port=3306", "user", "password");; // VULNERABLE ...
-1 votes
1 answer
50 views

How could you draw data from the parent tables, through the conjunction table using PDO in PHP & MySQL? I have a Games table with gameId and gameTitle. and a Platform table with platformId and ...
-1 votes
2 answers
108 views

I have the following prepared statement functionality: $stmt = $db->prepare("REPLACE INTO devices (id, type, labels, graphical, technical) values (:id, :type, :label, :graphical, :...

15 30 50 per page
1
2 3 4 5
...
1585

AltStyle によって変換されたページ (->オリジナル) /