0

If html can be used within php can the html comments also be used?

26th Oct 2016, 7:29 PM
Stephen
2 Respuestas
+ 2
Yes, it can be used
26th Oct 2016, 8:39 PM
Miyaki Joshua
Miyaki Joshua - avatar
+ 1
Of course within '...' or "...", for exemple : <?php echo '‹!-- html comment --›'; ?› Don't forget php is server side executed, and html client side
30th Oct 2016, 10:14 AM
DamienR