TheFilmGod Posted July 3, 2009 Share Posted July 3, 2009 contents += '<tr><td>1</td><td>First Day of School</td><td>'; contents += month_name[start[0]].slice(0,3) + '. ' + start[1] + ', ' year; contents += '</td><td>'; Firebug says I am missing a semicolon ";" right before the second line "contents += month[name..." Link to comment https://forums.phpfreaks.com/topic/164597-firefox-puking-out-an-error/ Share on other sites More sharing options...
celsoendo Posted July 3, 2009 Share Posted July 3, 2009 It's missing a plus sign (+) just before year. Correct code: contents += '<tr><td>1</td><td>First Day of School</td><td>'; contents += month_name[start[0]].slice(0,3) + '. ' + start[1] + ', ' + year; contents += '</td><td>'; Link to comment https://forums.phpfreaks.com/topic/164597-firefox-puking-out-an-error/#findComment-868208 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.