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 Link to comment https://forums.phpfreaks.com/topic/82258-solved-finding-error/ 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]; Link to comment https://forums.phpfreaks.com/topic/82258-solved-finding-error/#findComment-418091 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. Link to comment https://forums.phpfreaks.com/topic/82258-solved-finding-error/#findComment-418427 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.