pdo tag

7 questions


1 answers
108 views
0
MySQL goes down with only PDO connections.

To test the load on the rental server, we simulated it with 800 PV/sec access, but after a certain number of seconds (about 30 seconds) each time, the MySQL connection error occurs.負荷 If the load test...

2 years ago

3 answers
113 views
0
I want to acquire users who love both through SNS using SQLite and PHP.

I would like to limit the number of users who can send messages to each other on SNS using SQLite and PHP to users who love each other (who follow each other).What SQL statements should I issue to get...

2 years ago

1 answers
108 views
0
garbled when inserted into mysql

Scrap elements in htmlsimpledom and Inserting a string into mysql in PDO causes garbled characters as follows:ティィフ𝹑ール&...

2 years ago

1 answers
110 views
0
I want to add a search function to the list screen.

We are creating a system that allows you to apply for overtime on the web using PHP.I want to display everything you have applied for in the list so that you can search at the top of the screen.I want...

2 years ago

1 answers
78 views
0
DIFFERENT DATABASE TABLE COUPLING METHOD USING PDO

I don't know how to combine tables of different databases in the same server using PDO class, so I would appreciate it if you could give me some advice.The development language is PHP and the database...

2 years ago

1 answers
103 views
0
I want to make the class definition an external file when fetch(PDO::FETCH_CLASS)

When you create an object with PHP column name properties, you can combine the class definitions and fetch logic to be passed in the same file as follows:./index.php<?php class message { public$id;...

2 years ago

1 answers
124 views
0
When PHP PDOSstatement::execute fails, will it return False or throw Exception?

When PDO::ERRMODE_EXCEPTION,try{ $stmt = $pdo->prepare(SELECT* FROM po); $result=$stmt->execute(); if(!$result){ through new Exception(execute_false); }} catch(Exception$e){ var_dump($e->get...

2 years ago

© 2024 OneMinuteCode. All rights reserved.