RE: [PHP] Using '
| From: | Graham Cossey | Date: | Thu, 23 Sep 2004 13:17:26 +0000 |
| Subject: | RE: [PHP] Using ' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197670@lists.php.net to get a copy of this message | ||
> Hi!
> i have:
> $html = '
> <html>
> MY HTML
> </html>
> ';
> Inside of my html i used ', this produced a parse error, how can i solved
> it?.
Try:
$html = " <html> ... <td width='90'> ... </html>";
However my personal preference is the other way around:
$html = ' <html> ... <td width="90"> ... </html>';
HTH
Graham