Distant_storm Posted December 19, 2007 Share Posted December 19, 2007 Whats wrong with this section of code $database_photo_list[] = $row['Photo_id']; $dkc = database_photo_list[$loop_count]; $database_photo_cap[$dkc] = $row['Caption']; $database_photo_name[$dkc] = $row['Name']; $database_photo_path[$dkc] = $row['Photo']; $loop_count++; } } i get this error unexpected [ i can't see the erorr for the life of me haha all arrays are declared at the start as arrays Quote Link to comment Share on other sites More sharing options...
papaface Posted December 19, 2007 Share Posted December 19, 2007 $dkc = database_photo_list[$loop_count]; should be: $dkc = $database_photo_list[$loop_count]; Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 19, 2007 Author Share Posted December 19, 2007 thank you for that, sometimes its just right infront of you but you don't see it. Quote Link to comment 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.