0

How to link html and PHP in a web

So that it should give response.if you like this question please give up vote and give a correct answer

29th Sep 2019, 3:05 AM
🌺🌺🎊✰丹kͥຮhͣiͫth✰🎉🎉💐
🌺🌺🎊✰丹kͥຮhͣiͫth✰🎉🎉💐 - avatar
5 odpowiedzi
+ 3
<?php include 'filename.php' ?> (but first save ur php file in the same directory where u have samed ur html file)
30th Sep 2019, 6:31 AM
Raihan Arefin🇧🇩 [Thunder_Rabbit⚡⚡]
Raihan Arefin🇧🇩  [Thunder_Rabbit⚡⚡] - avatar
+ 3
And this answer is for the comments "Learn php first": He is learning php, but he doesn't know (or haven't gone through)how to use GET method, or action attributes. So u guys might give him a solution, bt...... Why this " Learn PHP first"? He wants to implement what he learnt? So where is wrong?
30th Sep 2019, 6:36 AM
Raihan Arefin🇧🇩 [Thunder_Rabbit⚡⚡]
Raihan Arefin🇧🇩  [Thunder_Rabbit⚡⚡] - avatar
+ 2
If you want to process form data in a separate PHP file you can just put the file url in form action Or you can just embedd your whole HTML in the PHP file
29th Sep 2019, 4:02 AM
Anurag
Anurag - avatar
+ 1
learn PHP first
30th Sep 2019, 6:18 AM
Twinkle Baisane
Twinkle Baisane - avatar