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>
From: JEFFRY KILLEN <jekillen@xxxxxxxxxxx>
Sent: Friday, August 18, 2023 10:09:34 AM
To: e-letter <inpost@xxxxxxxxx>
Cc: php-general@xxxxxxxxxxxxx <php-general@xxxxxxxxxxxxx>
Subject: Re: apply css font face to post command
Sent: Friday, August 18, 2023 10:09:34 AM
To: e-letter <inpost@xxxxxxxxx>
Cc: php-general@xxxxxxxxxxxxx <php-general@xxxxxxxxxxxxx>
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@xxxxxxxxx> wrote:
>
> On 16/08/2023, JEFFRY KILLEN <jekillen@xxxxxxxxxxx> 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.
>> 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@xxxxxxxxx> wrote:
>
> On 16/08/2023, JEFFRY KILLEN <jekillen@xxxxxxxxxxx> 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.