i am opening a file using fopen() and that works fine. from there i want to print out the contents of the file....cant seem to get it to work. here's what i've tried so far.
$file = fopen("order_log_text.txt", "r+");
echo $file[0];
/*foreach ($file as $field)
{
echo $field;
}*/
there is only one line in the text file and it is the first line. when i run this code i get no errors, but i also dont get any output on the screen. any help would be greatly appreciated!