Can I connect html file with php file in CODE PLAYGROUND??? | Sololearn: Learn to code for FREE!

+3

Can I connect html file with php file in CODE PLAYGROUND???

HOW??? {soory i not good in english :) }

10/28/2017 6:03:44 AM

Ferdian Rura

8 Answers

New Answer

+6

Code playground handle virtual files wich you cannot rename as a real file: you can edit its title, but that's not a file name: changing or adding a file extension should not work in code playground context, as the question ask :P

+4

Use <? php // your code ?> inside html code

+2

Rename the HTML file extension to PHP. Use include to get the HTML code into the main PHP

+1

i mean in different file sir..( use <form action="file php"). :)

+1

that,s right 😁😁

0

thx sir..πŸ˜‰

0

0

nd bsa klo di playground @shandy wkwkwk