AbeerSaba
-
Posts
2 -
Joined
-
Last visited
Posts posted by AbeerSaba
-
-
hi all , i am a new php learner i tried to make my 1st elseif statement i ran into a syntax error , tried several options non worked , would you please help ?! the code is below & i cant seems to work this issue any help is highly appreciated .
<?php
$name = ' sara ' ;
if ( $name == 'New York' )
{
echo 'This is New York';
}
elseif
( $name == 'sara' )
{
echo ' hi sara ' ;
}
else
{
echo 'No Match Found';
}
?>
elseif statement issue
in PHP Coding Help
Posted
you are a time saver !! thannnk you funny how i tried everything & missed this tiny clue . Appreciated .