hi,
the code below allows me to write to txt file but all data are next to each other
this way:
details1|test.htmldetails2|test.html
how can make it write like this:
details1|test.html
details2|test.html
<?
$fp = fopen(\"c:\\dir\\test.txt\", \"wb\");
while ($row = mysql_fetch_array ($rs)) {
$writefile = fputs($fp, $row[\"details\"].\"\n\".\"|\".$row[\"link\"].\"\n\");
}
mysql_free_result ($rs);
?>