Quotes in Heredoc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I am learning PHP by reading a book. My query pertains to the following
lines : -

$form_str = <<< EOFORMSTR
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 ALIGN=CENTER
WIDTH=621>
<TR>
<TD ROWSPAN=2><IMG WIDTH=15 HEIGHT=1
SRC=../images/spacer.gif></TD>


.....

My query is that is it true that we don't need to do
<TABLE ... ALIGN="CENTER" ...>

ie. we don't need to quote the value of the options in Heredoc. Is that
correct?

Many thanks,
Ashim.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux