Re: apply css font face to post command
| From: | Anthony Pulse | Date: | Fri, 18 Aug 2023 15:00:56 +0000 |
| Subject: | Re: apply css font face to post command | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328259@lists.php.net to get a copy of this message | ||
Here's the urls for it
GitHub.com/wise-penny/pipes
G0d.me/pipes for a demo
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Anthony Pulse <inland14@live.com>
Sent: Friday, August 18, 2023 10:26:32 AM
To: JEFFRY KILLEN <jekillen@prodigy.net>; e-letter <inpost@gmail.com>
Cc: php-general@lists.php.net <php-general@lists.php.net>
Subject: Re: apply css font face to post command
Use PipesJS. Like this:
<P id="pg" content-editable="true" name="key" class="cssclass
form1"></p>
<Dyn id="submit" ajax="some.php" form-class="form1
dyn-done"></p>
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: JEFFRY KILLEN <jekillen@prodigy.net>
Sent: Friday, August 18, 2023 10:09:34 AM
To: e-letter <inpost@gmail.com>
Cc: php-general@lists.php.net <php-general@lists.php.net>
Subject: Re: apply css font face to post command
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)
> On Aug 18, 2023, at 4:22 AM, e-letter <inpost@gmail.com> wrote:
>
> On 16/08/2023, JEFFRY KILLEN <jekillen@prodigy.net> wrote:
>>
>> <?php
>> if($_POST['text']) { print "<p class'(css class def goes
>> here)'>"$_POST['text']"</p>"}
>> ?>
>
> The css class selector was successful with the source html and css
> files. The code did not work within php using the same css class
> selector name. Result was blank html web page.
>
> Thank you anyway.