Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu
Online

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.184 Beiträge
 
Delphi 12 Athens
 
#9

Re: PHP - Design und Variablen übergeben

  Alt 13. Jun 2004, 22:26
muß nicht sein ^^

also entweder du machst
Code:
[color=red]inhalt.....php[/color]
[color=blue]$Seitentitel[/color] = "titel";
[color=blue]$Inhalt[/color] = "
  <div class=\"artikel-titel\">
  Titel
  </div>
  </div>
  <div class=\"artikel\">
  blabla
  <img src....
  </div>";

[color=red]index.php[/color]
include("inhalt.....php");
...
echo "<title>[color=blue]$Seitentitel[/color]</title>";
...
echo [color=blue]$Inhalt[/color];
...
oder
Code:
[color=red]inhalt.....php[/color]
[color=blue]$Seitentitel[/color] = "titel";
[color=blue]$Titel[/color] = "Titel";
[color=blue]$Inhalt[/color] = "
  blabla
  <img src....";

[color=red]index.php[/color]
include("inhalt.....php");
...
echo "<title>[color=blue]$Seitentitel[/color]</title>";
...
echo "<div class=\"artikel-titel\">";
echo [color=blue]$Titel[/color];
echo "</div>";
echo "</div>";
echo "<div class=\"artikel\">";
echo [color=blue]$Inhalt[/color];
echo "</div>";
...
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat