-
### Description
The following code:
```php
-
Usually i call this in a common file like a index or header
$psl = new phpSec\Core();
$psl['store'] = $psl->share(function($psl) {
$dsn = 'mysql:' .
'dbname=test;' .
'table=phpsec;' .
…
-
I believe I've found a bug when attempting to update a periodic RPDO whose values I'm setting.
The logic of `network.PeriodicTask.update` attempts to check if the data are new by checking the argum…
-
Running FoF with PHP 8.0 or 8.1 shows a lot of Deprecation warnings and one Fatal Error in the PDO Log class. It inherits the PDO class but the function signatures and return types don't match.
The…
-
Some of the errors shown by Phan when using PDO cannot occur when you set PDO to throw an exception, i.e. some methods do not return `false` any longer but throw a `PDOException`.
```
$db->setAttr…
ghost updated
4 years ago
-
This is the overall project to create a Dashboard / Kanban for the Project Delivery Office (PDO) Status
-
### Description
I have a problem with upgrading a server from Centos to Ubuntu (both use Nginx, php, mysql, laravel application)
### OS version:
- Centos: CentOS Linux release 7.9.2009 (Core)
…
-
Database.php
Line 14 ("driver" => getenv('DB_CONNECTION')) is equating db connection with the driver itself, which is very misleading and prevents the ability to configure multiple connections (wi…
-
G-C62 updated
5 years ago
-
```
require_once "conecta.php";
$pdo = conectar();
$listar = $pdo->query("SELECT * FROM table");
echo json_encode($listar->fetchAll(PDO::FETCH_ASSOC));
```
Enyoo updated
8 years ago