Jump to content

[SOLVED] finding error


Distant_storm

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.