Re: apply css font face to post command

From: Date: Fri, 18 Aug 2023 14:26:32 +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-328258@lists.php.net to get a copy of this message
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.

« previous php.general (#328258) next »