+ 3

Is there any way to link php to my HTML script externally like java script or CSS or must i just embed them in the HTML

PHP

1st Oct 2017, 9:11 PM
Franklyn Omeben
Franklyn Omeben - avatar
4 Answers
+ 3
We don't link PHP with HTML we replace HTML with PHP because PHP is better(dynamic) It's Simple just save your HTML file as .php instead and if you want to embed PHP use <?php ?>
1st Oct 2017, 11:58 PM
Ore
Ore - avatar
+ 1
use this formule: <script langage="php> ........ echo"......." </script>
2nd Oct 2017, 11:42 AM
saida RAKIB
saida RAKIB - avatar
0
someone please tell me @Saidas' code works.
2nd Oct 2017, 12:07 PM
Antony O. Onyango
Antony O. Onyango - avatar