Templates mit php - Seite 3

Seite 3 von 3 - Forum: Coding Stuff auf overclockers.at

URL: https://www.overclockers.at/coding-stuff/templates_mit_php_31777/page_3 - zur Vollversion wechseln!


schrieb am 19.04.2002 um 23:54

Wenn du einfach nur simple var-ersetzung willst, macht ein

Code:
eval("echo \"$templatecontent\";");
bzw:
Code: PHP
eval ("\$var = \"\$templatecontent\";");

den content des templates kannst mit den entsprechenden file-funktionen füllen ;)
dann schreibst einfach ins template html-code und variablen mit $varname.




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025