Are there any specific guidelines for posting PHP-related questions on forums like PHP.de?

When posting PHP-related questions on forums like PHP.de, it is important to provide a clear and concise explanation of the issue you are facing or the solution you are looking for. Be specific about what you have tried and where you are stuck. Additionally, make sure to format your code properly and provide a complete PHP code snippet that implements the fix you are suggesting or asking for help with. Example: I am trying to connect to a MySQL database using PHP but I keep getting a "Connection refused" error. I have double-checked my credentials and they are correct. Can someone please help me troubleshoot this issue?

<?php
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "database";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>