Folgendes habe ich geplant:
domain1.de/ausgabe.php
PHP-Code:
<?php
$nr = $_GET['nr'];
$sql = "SELECT text FROM tabelle WHERE nr='$nr'";
$erg=mysql_query($sql);
$row=mysql_fetch_array($erg,MYSQL_ASSOC);
echo $row['text'];
?>
PHP-Code:
<?php
$text = file_get_contents ('http://domain1.de/ausgabe.php?nr=22');
echo $text;
?>
Einen Kommentar schreiben: