I have quick question about a herf link in php field.
When I try to make a href link in php field by using echo or print,
it does not work the link.
Could you see the code briefly? Thanks!
if(isset($_SESSION["manager"])){
echo "<div id=\"login_link\">
Welcome Admin!<br>
<a herf=\"storeAdmin/admin_logout.php\">Log out</a>
</div>";
}
It should be href=”….” not “herf”.
For more info about the a tag you can take a look here: http://www.w3schools.com/tags/tag_a.asp