Autor | Zpráva | ||
---|---|---|---|
jan99 Profil * |
#1 · Zasláno: 27. 3. 2012, 21:43:46
Ahoj potreboval bych poradit jak predat promennou do html.
Ukazka: <?php $co = 'cool'; echo file_get_contents( $_SERVER['DOCUMENT_ROOT'].'/index.tpl'); ?> index.tpl: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Untitled Document</title> </head> <body> <p>this site is {$co}</p> </body> </html> diky |
||
Alphard Profil |
#2 · Zasláno: 27. 3. 2012, 21:49:56
|
||
Časová prodleva: 12 let
|
0