For the beginning, I'd rather watch some videos about how to code and after that, when I have understood more about basics and what's syntax and what's variable, to proceed to some books as I am more of a visual rather than a reader. Thanks a lot for Your advice, though. If You have more suggestions or recommendations, I am open towards everything
Hello guys! I have literally started learning how to code. And I have come to the point when I got to deal with elseif syntax which is not working properly and messes up everything I have done so far. Here's the script
$password = "tulip";
if ($password == "tulip")
{
echo '<b>Hello!</b><br> Welcome to the website Blaise!';
} else {
echo '<b> The password or login is incorrect <br> Please try again </b>';
} elseif ( $password == "daisy")
{
echo '<b> Welcome Kate! </b>;
}
When I type in "daisy" nothing goes on and everything just gets stuck.
Any help or explanation? Thanks
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.