User Tools

Site Tools


teaching:php:database

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

teaching:php:database [2020/04/19 18:53]
admin created
teaching:php:database [2020/04/19 22:02] (current)
admin
Line 11: Line 11:
  
 $connection_string = "​mysql:​host=$host;​dbname=$dbname;​port=$port;​charset=$charset";​ $connection_string = "​mysql:​host=$host;​dbname=$dbname;​port=$port;​charset=$charset";​
-$db_settings = array(PDO::​ATTR_ERRMODE => PDO::ERRMOD_WARNING,+$db_settings = array(PDO::​ATTR_ERRMODE => PDO::ERRMODE_WARNING,
                      ​PDO::​ATTR_PERSISTENT => true);                      ​PDO::​ATTR_PERSISTENT => true);
  
teaching/php/database.1587318837.txt.gz · Last modified: 2020/04/19 18:53 by admin