Connect to database
$mysqli=new mysqli("localhost", "root", "123456", "card");
Execute SQL statement
$result=$mysqli->query(" select id, title from card where cid={$cid}");The above introduces PHP notes - database operations, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.