• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

curly braces

harrylmh

New Member
must there always be a { and } for else and elseif, even if they only have one line?

example:
if (1==1)
echo "yes";
else
echo "no";



I tried it. It looked ok. But I could be wrong. :confused:

thanks
 
Back
Top