<?php
// MySQL bağlantı bilgileri
$servername = "your_servername";
$username = "your_username";
$password = "your_password";
$dbname = "your_dbname";
// MySQL bağlantısı oluştur
$conn = new mysqli($servername, $username, $password, $dbname);
// Sorguyu çalıştır ve sonucu al
$result = $conn->query("SELECT php_code FROM your_table_name");
// Sonucu döndür
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
echo '<pre>'.$row["php_code"].'</pre>';
}
} else {
echo "0 results";
}
// Bağlantıyı kapat
$conn->close();
?> MySql de ki kodu metin olarak gösterme
2
●64
- 03-04-2023, 12:09:03