Missing php closing tag ?> in php file
Posted: 11 Jun 2017, 22:50
Just so you know in some php files from your scripts you left out the closing "?>".
I put it in and looks good thank you.
I put it in and looks good thank you.
Web Development and Programming Courses
https://coursesweb.net/forum/
Code: Select all
<?php
$vr ='some text';
echo $vr;
//here isn't necessary the ?> because there is not other content after this line of php code
Code: Select all
<?php
$vr ='some text';
?>
<h1>Title</h1>
<div>
<?php echo $vr; ?>
</div>