aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 7ec9619..a71431f 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,12 @@
mailTemplate - Send an email using a PHP template file.
=======================================================
-`mailTemplate($\_filename, $\_v)` causes the PHP engine to parse the PHP file specified by `$\_filename`, with the
-variables passed in the variable `$\_v`, which should output an [RFC-822](https://tools.ietf.org/html/rfc822) (and its
+`mailTemplate($_filename, $_v)` causes the PHP engine to parse the PHP file specified by `$_filename`, with the
+variables passed in the variable `$_v`, which should output an [RFC-822](https://tools.ietf.org/html/rfc822) (and its
[successors](https://en.wikipedia.org/wiki/Email#Message_format)) style message.
The function then extracts the headers from the message, grabs the "To" and "Subject" lines from it, and then passes
the "To:", "Subject:", message body, and remaining headers, to the PHP
-`[mail()](https://secure.php.net/manual/en/function.mail.php)` function.
+[`mail()`](https://secure.php.net/manual/en/function.mail.php) function.
As an example, consider template file "thanks.php"
@@ -31,8 +31,8 @@ Which could then be called with:
'important' => FALSE,
]};
-Note that, as of this implementation, `$\_filename` is read using
-`[include()](https://secure.php.net/manual/en/function.include.php)`, so it uses the file-finding rules defined therein.
+Note that, as of this implementation, `$_filename` is read using
+[`include()`](https://secure.php.net/manual/en/function.include.php), so it uses the file-finding rules defined therein.
Also, it is worth remembering that PHP eats newlines directly following a PHP close tag. Therefore, if you have: