+ 1

How do i link from html file to php file

I have tried something like this <a href="PHP file.php">click</a> instead of taking to the interface I expected ,it showed source code on browser

9th Sep 2017, 12:53 PM
Decodeworms Olamilekan
Decodeworms Olamilekan - avatar
6 Answers
+ 2
I did that ,my local host is opened
9th Sep 2017, 1:13 PM
Decodeworms Olamilekan
Decodeworms Olamilekan - avatar
+ 2
I think it is: <link href="PHPfile.php>click</link>
9th Sep 2017, 1:18 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
if you want to host it locally you have to install a program like xampp and set it up (its easy)
9th Sep 2017, 12:59 PM
Enzo
Enzo - avatar
+ 1
are your website files in the 'htdocs' folder ?
9th Sep 2017, 1:18 PM
Enzo
Enzo - avatar
+ 1
let me try that
9th Sep 2017, 1:23 PM
Decodeworms Olamilekan
Decodeworms Olamilekan - avatar
0
vengat it complicated the issue
9th Sep 2017, 2:41 PM
Decodeworms Olamilekan
Decodeworms Olamilekan - avatar