alright im having bit of trouble here...
i have
english.lang
Code:
'UPLOAD' => 'Upload Files',
'MANAGE' => 'Manage Files',
'SHARE' => 'Share Files'
grab-template.php
Code:
$words_arr = array(file_get_contents('language/english.lang'));
print_r($words_arr);
whats happening is that it thinks the file_get_contents is one entire string which it is making and then sends it to the array so there is one thing in the array
$words_arr[0]
and when you echo that it displays
Code:
Array ( [0] => 'UPLOAD' => 'Upload Files', 'MANAGE' => 'Manage Files', 'SHARE' => 'Share Files' )
how can i fix this problem / go around it