Conveting HTML table to TXT tab delimited file

Hello Guys…

I want ur help…

I want to convert HTML table into TXT file.
I dont know how to do it.
Will u plz help me?

I also tried like creating text file from Browser. But its not working. But if i run the php program from putty, i creates a TXT file.

Plz help me to solve this prob…

Thanks & Regards,


You can REMOVE the html tags and store it in a txt file using php.

$content= file_get_contents(‘’);

$content_new = strip_tags($content);

$myFile = “testFile.txt”;

$fh = fopen($myFile, ‘w’) or die(“can’t open file”);

fwrite($fh, $content_new);


Thats it !!!

why don’t u get a hold of your database in phpmyadmin?
can you?

u mean?