So here is the code I am using at the moment and I know its very basic. What I would like to happen is for the php to check weather the username and password is correct then link directly to another URL but with this code it just pulls up a blank screen with /processphp at the end of the URL. Can someone please help me to understand why this isn’t quite working the way I need it to and help me to fix it?
[php]<?php
$username = $_POST[“username”];
$password = $_POST[“password”];
$actualusername = “newguy”;
$actualpassword = “password”;
if($username == $actualusername && $password == $actualpassword){
echo “”;
}
else {
echo ‘info’;
}
?>[/php]