Wondering what I can do to fix this error:
missing ) after argument list
[Break On This Error] change_content('imagediv', '<img src='images/painting_2.jpg'>');
This code is contained in an include.
The parentheses are there. ??
On webpage the problem is the left bracket on menu "paintings".
Thank you.
missing ) after argument list
[Break On This Error] change_content('imagediv', '<img src='images/painting_2.jpg'>');
This code is contained in an include.
The parentheses are there. ??
On webpage the problem is the left bracket on menu "paintings".
Thank you.
Code:
<?php
$paintingBack=$paintingNumber-1;
$paintingNext=$paintingNumber+1;
if ($paintingBack < 1) {
$paintingBack = $paintingBack + 1;
}
?>
<a href="" class='link' onFocus='if(this.blur)this.blur()' onclick="change_content('imagediv', '<img src='images/painting_<? echo $paintingBack; ?>.jpg'>');"><img src='images/braceL.gif' alt='brace' width='20' height='11' valign='text-bottom'/></a>