Metadata
Author: WikiMatrix
Data
Italian[it]
Normalmente si può mescolare PHP e codice HTML insieme nello stesso file, come qui: <html> <head> <title>PHP Test</title> </head> <body> <!-- hh and html do not mix --> <?php echo '<p>Hello World</p>'; ?> </body> </html> Questo tipo di codice non è supportato in Hack; un template engine come XHP deve essere utilizzato.
Dutch[nl]
PHP- en HTML-code kunnen in hetzelfde bestand worden gebruikt: <html> <head> <title>PHP Test</title> </head> <body> <!-- hh and html do not mix --> <?php echo '<p>Hello World</p>'; ?> </body> </html> Met Hack is zoiets onmogelijk, maar dat kan worden opgelost door het gebruik van ofwel XHP, ofwel een template engine.