may be i didn't make it clear.
what i want to do is to rather than displaying the result of a DB query i'd like to force the browser (NetScape/IE)for the content (text) to be downloaded by presenting the file save/as dialog.
e.g.
result from query:
$res = 'this is a test';
echo ( $res);
so when the server returns this query result to the browser instead of displaying it on the screen i want the browser to present to user the file save/as dialog.
i think it's as easy as that?
Thx.
lkj