|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
heredoc prob
Hi guys,
May i know whats wrong with my code ? it says parse error at the line where i wanna output my registered variable. my code: print <<< sample From : $_SESSION['username'] To : Customer Subject : $status['subject'] $status['contents'] Signature: $status['signature'] sample; p.s: by the way, is this how to use heredoc ? PLease advise. |
|
#2
|
||||
|
||||
|
Try jamming the <<< up against "sample" with no space.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > heredoc prob |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|