i have been banging my head for hours and cant figure it out…
im new to programing php but i cant figure out the if statements…
i have a main site and an action php when you click submit in the login area it displays the username and pasword for it (just using that to check) but i cant figure out how to make it an if statement like
login = admin
password = password
action.php
<?php
if (‘username’)= admin & (‘password’)= password
print(“admin login accepted”);
?>
I use that on my action page and i click submit all it shows is a blank page…
any help?