Code problem

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Code problem

Post by me.prosenjeet »

I have a php page which when I am executing, I am getting the following error on one of the lines.
I quote the error message:

Code: Select all

Parse error: syntax error, unexpected '}' in /home1/lucknow/public_html/folder1name/folder2name/index.php on line 183
Here is the line which has this error. Anyone can please point out where is the mistake?
if($settingObj->getShowFirstFilledMonth()==0){?>var newday=new Date();<?php}else{?>var newday=new Date(<?php echo $calendarObj->getFirstFilledMonth($calendarObj->getCalendarId());?>);<?php}?>var booking_day_white_bg='<?php echo $settingObj->getDayWhiteBg(); ?>';var booking_day_white_bg_hover='<?php echo $settingObj->getDayWhiteBgHover(); ?>';var booking_day_white_line1_color='<?php echo $settingObj->getDayWhiteLine1Color(); ?>';var booking_day_white_line1_color_hover='<?php echo $settingObj->getDayWhiteLine1ColorHover(); ?>';var booking_day_white_line2_color='<?php echo $settingObj->getDayWhiteLine2Color(); ?>';var booking_day_white_line2_color_hover='<?php echo $settingObj->getDayWhiteLine2ColorHover(); ?>';var booking_day_white_line2_bg='<?php echo $settingObj->getDayWhiteLine2Bg(); ?>';var booking_day_white_line2_bg_hover='<?php echo $settingObj->getDayWhiteLine2BgHover(); ?>';var booking_recaptcha_style='<?php echo $settingObj->getRecaptchaStyle(); ?>';$(function(){$('#back_today').fadeOut(0);getMonthCalendar((newday.getMonth()+1),newday.getFullYear(),'<?php echo $calendarObj->getCalendarId(); ?>','<?php echo $publickey; ?>');
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Post Reply