consider the following code...
if ($condition); // <-- do not miss semicolon here! { //... }
After that code inside block works. Can som
becuse you can write any code inside { } without if
{ }
check this example: