Skip to content

Forum

How to add PHP in H...
 
Notifications
Clear all

How to add PHP in HTML document?

2 Posts
2 Users
0 Likes
158 Views
 ahsa
(@ahsa)
Active Member
Joined: 7 months ago
Posts: 2
Topic starter  

I am a beginner and would like to know how to add PHP to html. Is there any easy solution.


   
Quote
Topic Tags
(@junaid)
New Member
Joined: 7 months ago
Posts: 2
 

to add php in html, you need to put the code of php with its starting and ending tags into html file.

<?php

   write your PHP code here

?>


   
ReplyQuote
Share: