1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <?php
$link = mysqli_connect('localhost:3306','root','root');
$res = mysqli_query($link,'set names utf8');
$db = mysqli_query($link,'use wang'); var_dump($db);
$end = mysqli_close($link); var_dump($end);
|