Close Connection

1
2
<?php
$con=mysqli_connect("localhost","root","password","wp_db");
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1 Response

The connection will be closed automatically when the script ends. To close the connection before, use the mysqli_close() function:

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.