how to put PHP in HTML??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to put PHP in HTML???

18th Jun 2016, 4:11 PM
Ghanshyam Upadhyay
Ghanshyam Upadhyay - avatar
4 Answers
+ 1
<?php include("your url"); or require("your url"); ?>
22nd Jun 2016, 3:47 PM
gandhiyash
0
<?php ?>
18th Jun 2016, 6:03 PM
I Deekay
I Deekay - avatar
0
thanks <?PHP ?>.....directly used PHP
19th Jun 2016, 12:38 AM
Ghanshyam Upadhyay
Ghanshyam Upadhyay - avatar
- 1
<?php *INSERT PHP CODE HERE ?> in a HTML document and change file extension to PHP. You need to execute it on a web server like Apache.
19th Jun 2016, 9:09 AM
Arun
Arun - avatar