Support » Plugin: PHP Browser Detection » Parse error, Syntax error

  • Resolved Udegbunam Chukwudi

    (@strictlyonlinebiz)


    Hi, I’m trying to get the plugin to work on localhost before deploying on my site but it keeps giving me a parse error

    Parse error: syntax error, unexpected ‘}’ in C:\wamp\www\wordpress\wp-content\mobilepress\themes\default\single.php on line 68

    This is the code I added

    <?php if ( is_firefox($version) ) { do stuff }; ?>

    Do I need to make modifications to the code?

    Thanks

    http://wordpress.org/extend/plugins/php-browser-detection/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parse error, Syntax error’ is closed to new replies.