nope.. HTML zelf heeft geen mogelijkheden om files te includen. Je zou een soort javascript oplossing kunnen bedenken.
Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'
Reactie van FoOL is begrijpelijk, maar ik zou toch wel graag willen weten wat GSMboy nou bedoelt... Wat wil je? Een stuk PHP in HTML? Dat doe je als volgt:
En een PHP script includen:
code:
1
2
3
4
5
6
7
8
9
| <body> hier html <? echo 'hier PHP'; ?> </body> |
En een PHP script includen:
code:
1
2
3
4
5
6
7
| <body> hier html <? include ( "piet.php" ); ?> </body> |
Pagina: 1
Dit topic is gesloten.
![]()