[TYPO3-german] Variable aus URL für PHP-Script

Manfred Hungerland mobil at csb86.ch
Tue Aug 28 15:52:22 CEST 2007


Suuuuuuuuuuuper!!

Das war's besten Dank Euch allen!! ;-)

mit dem hier gehts:

<?php
    include('fileadmin/template/wfqbe/rtfclass.php');

    $id_value = $_GET["tx_wfqbe_pi1"]["id_testimony"];
    $sql="SELECT * FROM TESTIMONY WHERE (TESTIMONY.ID = '$id_value')";

    $result= mysql_query($sql) or die(mysql_error());
    $testimony = mysql_fetch_array($result);
                 $r = new rtf ($testimony['TESTIMONY']);
      $r->output("html");
      $r->parse();
      if( count( $r->err) == 0) { // no errors detected
      echo $r->out;
      }
?>


Shalom und Gottes Segen
Manfred


More information about the TYPO3-german mailing list