Page 1 of 1

php print?

Posted: Sat 29 Dec 2012 4:11 pm
by n9mfk
Hi Ken,
I need some advice
For something i am working on

I wet to use this

Code: Select all

<p class="sideBarTitle"><?php langtrans('Navigation') ;?> </p>
in a php if
but using ether of these css does not come through

Code: Select all

<?php print "<p class=\"sideBarTitle\">" . langtrans('Navigation') ." </p>";?>

Code: Select all

<?php print '<p class="sideBarTitle">" . langtrans('Navigation') .' </p>';?>
is there a better way?