PHP 8.5.0 Alpha 1 available for testing

Voting

: max(four, seven)?
(Example: nine)

The Note You're Voting On

Victor T.
15 years ago
If you use the UTF-8 encoding, you have to use the fourth parameter :

<?php
$db
= new PDO('mysql:host=myhost;dbname=mydb', 'login', 'password', array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''));
?>

<< Back to user notes page

To Top