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(); Quote 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); Quote 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? Quote 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); Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.