samedi 23 octobre 2021

Why is this an syntax parse error in php?

When i write this line of code:

<?php if(!isset($_SESSION['unique_id'])) { <a href="LogIn"><button class="btn">Login</button></a> <a href="SignUp"><button class="btn">Register</button></a> } ?>

It says Parse error: syntax error, unexpected '<' in /storage/ssd2/191/17389191/public_html/Impressum-Info.php on line 144 But why? It should be correct.

Screenshot of code




Aucun commentaire:

Enregistrer un commentaire