note 114176 deleted from filter.examples.validation by sobak
| From: | sobak@php.net | Date: | Thu, 01 Dec 2016 13:12:24 +0000 |
| Subject: | note 114176 deleted from filter.examples.validation by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207847@lists.php.net to get a copy of this message | ||
Note Submitter: makicar5 at gmail dot com
----
Email example is correct, in other examples just add dollar sign:
echo "This (ip_a) IP address is considered valid.";
echo "This (ip_a) IP address is considered valid.";
Change to:
echo "This ($ip_a) IP address is considered valid.";
echo "This ($ip_a) IP address is considered valid.";
same for
int_a, int_b, int_c
to $int_a, $int_b, $int_c
Don't use single quotes in this example!