• 03-04-2023, 12:09:03
    #1
    <?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();
    ?>
  • 04-04-2023, 00:06:52
    #2
    detaylı anlatırmısnız
  • 04-04-2023, 08:47:58
    #3
    dosyanın başına
    header("Content-Type: text/plain")
    eklerseniz her şeyi text olarak görürsünüz.