Re: apply css font face to post command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux