shadiadiph Posted July 15, 2010 Share Posted July 15, 2010 Having a poblem with array_filter() and the following array keeps giving me unexpected $end the php coding is ok as it works on every countries cities I have tried except this one. Array ( [Chrouy Changvar] => Chrouy Changvar [Kandal] => Kandal [Phnom Penh] => Phnom Penh [Phnum Pnh] => Phnum Pnh [] => ) Seems if the empty array is at the beginning it works fine not sure why is it a bug??? Link to comment https://forums.phpfreaks.com/topic/207878-array_filter-problem/ Share on other sites More sharing options...
kenrbnsn Posted July 15, 2010 Share Posted July 15, 2010 We need to see more of your code. An unexpected end error means you have unbalanced quotes or braces "{ }" in your script. Ken Link to comment https://forums.phpfreaks.com/topic/207878-array_filter-problem/#findComment-1086723 Share on other sites More sharing options...
shadiadiph Posted July 15, 2010 Author Share Posted July 15, 2010 Thanks for replying Ken but it seems it was none of the above must have a nasty internet connection here as it doesn't seem to be uploading my pages fully to the server via ftp changing countries again tomorrow Link to comment https://forums.phpfreaks.com/topic/207878-array_filter-problem/#findComment-1086735 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.