michaellunsford Posted August 21, 2007 Share Posted August 21, 2007 The error is on the second line. What's the deal? var prop = new Array(); var prop[1] = new Array(); Link to comment https://forums.phpfreaks.com/topic/66008-solved-error-missing-before-statement/ Share on other sites More sharing options...
emehrkay Posted August 21, 2007 Share Posted August 21, 2007 lol javascript isnt php you have to use array.push(array); Link to comment https://forums.phpfreaks.com/topic/66008-solved-error-missing-before-statement/#findComment-330058 Share on other sites More sharing options...
michaellunsford Posted August 21, 2007 Author Share Posted August 21, 2007 I'm afraid I don't follow. Can you provide more detail? Link to comment https://forums.phpfreaks.com/topic/66008-solved-error-missing-before-statement/#findComment-330279 Share on other sites More sharing options...
emehrkay Posted August 21, 2007 Share Posted August 21, 2007 var prop = new Array(); var prop2 = new Array(); prop.push(prop2); Link to comment https://forums.phpfreaks.com/topic/66008-solved-error-missing-before-statement/#findComment-330354 Share on other sites More sharing options...
michaellunsford Posted August 22, 2007 Author Share Posted August 22, 2007 Okay, got it. Thanks! Link to comment https://forums.phpfreaks.com/topic/66008-solved-error-missing-before-statement/#findComment-330963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.