Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error, unexpected '(' - {if="$var == 0 || $var == 10"} #192

Open
ramonribeiro96 opened this issue Apr 12, 2019 · 0 comments
Open

Comments

@ramonribeiro96
Copy link

ramonribeiro96 commented Apr 12, 2019

Hi, how can I do this?

{if="$var == 0 || $var == 10"}

it happens:

<?php if(  $var == 10(($var == 1 )) ){ ?>
            <li class="nav-item">
                <a class="nav-link" id="dashboard" href="/admin/dashboard">
                    <i class="material-icons text-justify">dashboard</i>
                    Dashboard
                </a>
            </li>
<?php } ?>

Error: Parse error: syntax error, unexpected '(' in ...

@ramonribeiro96 ramonribeiro96 changed the title syntax error, unexpected '(' - if="$var == 0 || $var == 10" syntax error, unexpected '(' - {if="$var == 0 || $var == 10"} Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant