Re: apply css font face to post command
| From: | e-letter | Date: | Wed, 23 Aug 2023 10:17:40 +0000 |
| Subject: | Re: apply css font face to post command | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328260@lists.php.net to get a copy of this message | ||
On 18/08/2023, JEFFRY KILLEN <jekillen@prodigy.net> wrote:
> I noticed a syntax error in the code I sent:
>
>>> if($_POST['text']) { print "<p class'(css class def goes
>>> here)'>"$_POST['text']"</p>"}
> should be
>>> if($_POST['text']) { print "<p class'(css class def goes
>>> here)'>" . $_POST['text'] . "</p>"}
>
> I left out the . (string concatination dot)
>> Result was blank html web page.
Repeat faliure occurs both with(out) space character between full stop
character.