Reputation: 1073
I am learning to build a templating system. In the view folder i have a page that has this code
Hello <?= $data["name"]; ?>
If i enter this page I see that the code works just with <?= ?>
tags. I tried <?php ?>
but it doesn`t work. I thought that the tags have the same functionality. What is the explanation ?
Upvotes: 0
Views: 63