it returns this when i open it; \n"; echo "FileVersionSize in kb\n"; while ($i < $num) { $file=htmlspecialchars(mysql_result($result,$i,"file")); $version=trim(mysql_result($result,$i,"version")); $size=trim(mysql_result($result,$i,"size")); echo "\t\n"; echo "\t\t$file\n"; echo "\t\t$version\n"; echo "\t\t$size\n"; echo "\t\n"; $i++; } echo "\n"; // Free resultset mysql_free_result($result); // Closing connection mysql_close($link); ?> i`ve been trying to find info on the functions to figure out if i have to configure something. the info in the link will help a lot i think. got to go for bout half hour, will check it out then.