FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » CLP - ON TOPIC! - Need PHP form email help, Please!
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: CLP - ON TOPIC! - Need PHP form email help, Please! [message #173212 is a reply to message #173211] Mon, 28 March 2011 03:38 Go to previous messageGo to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
"P E Schoen" wrote in message news:imou4g$4t1$1(at)speranza(dot)aioe(dot)org...

$heredoc = <<<HEREDOC
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>$hTitle</title>
</head>
<body>
<h1>$title</h1>
$msg
</body>
</html>
HEREDOC;

Actually this is a HEREDOC, which expands the variables within the
delimiters. The NOWDOC uses the following syntax:

$value = "Hello World!";
$var = <<<'LABEL'
$value
LABEL;

For more information, see:
http://usrportage.de/archives/884-NOWDOC-+-double-quotes-HEREDOC.html
http://www.electrictoolbox.com/php-nowdoc-string/
http://www.electrictoolbox.com/php-heredoc-string/
http://php.net/manual/en/language.types.string.php

Paul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ip address of client
Next Topic: Islandnet.com dropping support for PHP4
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 00:05:53 GMT 2024

Total time taken to generate the page: 0.04686 seconds