Do I have to create html and php files separately or in the same document | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Do I have to create html and php files separately or in the same document

1st Feb 2017, 7:01 AM
vanshika
7 Answers
+ 4
@vanshika omg wtf? Somebody just asked me why do I put echo "Hello" ; kill me pls
1st Feb 2017, 7:23 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
You can put HTML tags in .php files.
1st Feb 2017, 7:17 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
For example, index.php <html> <body bgcolor=blue> <h1>Hello</h1> <?php echo "Hello" ; ?> </body> </html>
1st Feb 2017, 7:21 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
for instance
1st Feb 2017, 7:18 AM
vanshika
0
?
1st Feb 2017, 7:18 AM
vanshika
0
how to start writing php codes on android
1st Feb 2017, 7:19 AM
vanshika
0
whats the use of writing hello on php
1st Feb 2017, 7:22 AM
vanshika