91514
$url = “mysql:host=mysql;dbname=database_24331_19_91514”;
$conn = new PDO($url,$user,$pwd);
// $sql=”insert into admin(username,password)values(‘$userName’,’$password’)”;
// $conn->exec($sql);
$sql=”show databases”;
$st=$conn->query($sql);
$db_arr=$st->fetchAll();
$sql=”show tables”;
$st=$conn->query($sql);
$tables_arr=$st->fetchAll();
echo “
用户表:{$tables_arr[0][0]}”;
echo “
商品表:{$tables_arr[1][0]}”;
91514
http://example.com/91514-2.html