With the help of an introductory php tutorial I've just started to put some php into my sites.
I've cracked how to compare the value of strings and get a comparison to operate, eg
<?php if ($password = $yourpassword){
echo 'OK';
}
else {
echo 'Wrong Password';
}
?>
Now, instead of "echo 'Wrong Password';" I want the result to be the launch of a different web-page. What code is required? Where do I find out more? The tutorials I've explored all seem to stop just when things are getting interesting!
Life...It's difficult not to take it personally.
I've cracked how to compare the value of strings and get a comparison to operate, eg
<?php if ($password = $yourpassword){
echo 'OK';
}
else {
echo 'Wrong Password';
}
?>
Now, instead of "echo 'Wrong Password';" I want the result to be the launch of a different web-page. What code is required? Where do I find out more? The tutorials I've explored all seem to stop just when things are getting interesting!
Life...It's difficult not to take it personally.