AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

HTML/PHP - PHP Variable in HTML

Ein Thema von Neutral General · begonnen am 31. Mär 2007 · letzter Beitrag vom 31. Mär 2007
 
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#5

Re: HTML/PHP - PHP Variable in HTML

  Alt 31. Mär 2007, 14:22
Hi,

naja es ist eine TPL Datei die mit smarty dargestellt wird...

index.php wird geladen und je nach mode wird dann:

Code:
$page = "book.tpl";
und book.tpl ist oben der gepostete code und dann:

Code:
$mysmarty->Assign('content', $mysmarty->fetch($page));
und

Code:
$mysmarty->display('index.tpl');
wobei dann in index.tpl sowas steht wie:

Code:
sind in smarty als Anfang und Ende einer Smarty Variable definiert..

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:00 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz