Well, you could save the file with a .txt extension. It really doesn't matter to PHP.
yeah not for php i know that but it matter for unaware user and for browser(especia lly that i want to send svg or xml created in php)
i need to to some tests :-)
i'll be back
the fields i'm using doesn't have commas.. although it didn't work with a coma ------ it was showing in excel column A this: a,3
anyway.. when I've used a tab ... THINGS WORKED .......that's because it considered it as text... when u have a table inside a text saparated by tabs and return charachters, and change the extension to xls... you'll find the table inserted perfectly inside excel
I have a little proble,,,, the fields name aren't displayed in my excel, why ?
You'll need to output the field names as the first row to make this work properly (I believe that there is also a box you need to tick when importing the file in Excel).
Try something like this:
[code=php]
$sql = "SELECT * FROM session1";
$result = mysql_query($sq l);
Comment