What's wrong with this code:
<?php
if ($_GET['variable'] == "a") {
$variable = "a";
}
else {
$variable = "b"
}
echo $variable;
?>
I get an internal server error.
What's wrong with this code:
<?php
if ($_GET['variable'] == "a") {
$variable = "a";
}
else {
$variable = "b"
}
echo $variable;
?>
I get an internal server error.
Missing a semi-colon does not give an internal server error. Check to see if you have a .htaccess file in the root and if its configured correctly.