Bu kodları nasıl daha güvenli hale getirip daha iyi yazarım?
<?php
$host="localhost";
$db_name="blog";
$username="root";
$password="";
try {
$conn = new PDO("mysql:host=$host;dbname=$db_name", $username, $password);
// set the PDO error mode to exception...