I don't think it's necessary to tell people to reply soon.
Anyway, you read from a db table using
$conn = mysql_connect($server, $user, $pass);
$db = "dbname";
$query = "SELECT column FROM table";
$result = mysql_db_query($db,$query ,$conn);
$fp = fopen("filename", "a");
while($myrow = mysql_fetch_array($result))
{
$column = $myrow["column"];
$writefile = fputs($fp, $column);
}
fclose($fp);
You can customize the code for your specific needs.
Richard Akindele
geocities.com/akindele/