All pastes #77397 Raw Edit

Foutrelis

public text v1 · immutable
·published 2006-07-02 23:54 UTC
rendered paste body
	print $comm = fopen("comments.txt" , "r");
//	while(!feof($file)) {
		$temp = fscanf($comm , "%s");
		print $temp;
//	}

====================================================
Q: The 'print $temp' command should output the first line of 'comments.txt' but it outputs 'Array'.
   I cant undersand why.. What have I done wrong?