while debugging...
the problem is with writing to txt file
not opening it (for sure)
i want to say that the txt file is upload to
remote linux site with all necessary file
to same dir as the local system
so why it refuse to write to that text file
but it did in windows.
<?
$fp = fopen("/text1.txt", "wb");
while ($row = mysql_fetch_array ($rs)) {
$writefile = fwrite($fp, "$row["column1"]."|".$row["column2"]."\n"");
}
mysql_free_result ($rs);
?>