Both...If you send an HTML file with Excel headers, Excel will open up and "translate" the HTML tables into the grid of the Excel spreadsheet.
---John Holmes... ----- Original Message ----- From: "Steve Bradwell" <[EMAIL PROTECTED]> To: "'Jay Blanchard'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, May 06, 2002 10:05 AM Subject: RE: [PHP] Formatting Information in header? Gridlines in Excel > This is intriguing me, are you opening up excel in a browser window or just > printing out html tables?? I am confused. > > Thanks, > Steve. > > -----Original Message----- > From: Jay Blanchard [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 06, 2002 9:54 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Formatting Information in header? Gridlines in Excel > > > [snip] > Are you actually sending an excell file, or just data that you expect excell > to format? If your sending a file, then you have to create the grid lines > there. These are HTTP headers that you are talking about, they wouldn't have > any control over excell data. > [/snip] > > Nope, it's not an Excel file. It is a PHP file imitating an Excel file, > calling data from the DB and generating the worksheet on-the-fly. I want the > gridlines to display and was hoping that there was something I could put in > the PHP page to make sure that this happens. I am delivering HTML table(s) > to Excel for parsing, which it does just fine....uh oh...I feel an idea > coming on....let me try adding a border="1" to the table tag....that works! > > Thanks for wording it differently, I saw it in a different light and the > answer cam upon me like a Monday morning lightning strike. > > Jay Blanchard > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php