note 78664 deleted from language.types.string by felipe

From: Date: Sun, 23 Mar 2008 23:17:01 +0000
Subject: note 78664 deleted from language.types.string by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137447@lists.php.net to get a copy of this message
Note Submitter: Kunal Thaggarse ---- When saving the output of an HTML table as an excel sheet, avoid using double quoted string literals after the attribute 'width', because the excel sheet won't display the table. Example: <?php header("Content-Type: application/vnd.ms-excel"); echo "<table border=1 align=center width=95\"%\">"; echo "<table>"; echo "<tr><td>abc</td><tr>"; echo "<tr><td>xyz</td><tr>"; echo "</table>"; ?> Use "<table border=1 align=center width=95%>" instead.

« previous php.notes (#137447) next »