0
Can a php file be included either in body or head of a HTML program???
6 ответов
+ 1
No. And if you meant php code instead of file, that would make the html file a php one.
+ 1
yes you can use php in body and head tags. for example:
<html>
<head>
<title><?php $title = "SoloLearn"; echo $title; ?></title>
</head>
<body>
<?php echo "hello world"; ?>
</body>
</html>
+ 1
Yes
Example is like this
<?php include('file.php') ?>
<html>
<body>
<?php include('otherFile.php') ?>
</body>
</html>
0
are you talking about required() include() functions?
0
brother zen please write the code of ur answer
0
yes