Whats wrong with this code?
-
I’m not too good with PHP… can someone please tell me what I’ve done wrong with the following as it’s returning an error to me and I can’t figure it out….
<?php if (in_category('8')) {echo '<strong>Select your rating:</strong> <?php if(function_exists('the_ratings')) { the_ratings(); }?> ';} ?>
Thanks
Edit: the error being returned is:
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/wired/public_html/wp-content/themes/wired/comments.php on line 90
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Whats wrong with this code?’ is closed to new replies.