Custom layout element display help

jh2251

New Member
Hello,

I'm creating a custom details layout and have run into a problem when trying to concatenate output from Fabrik tables with text/html. For example, I've like to be able to do something like this:

Code:
$numpeople = $elements['number_people']->element;

<div class="span6"><?php echo "There are &nbsp;" . $numpeople . "&nbsp; people in the room."; ?></div>

Which might look like: "There are 15 people in the room." But anything before or after an echoed value is put on a new line. i.e.:

There are
15
people in the room.

Is there any way to prevent this?

Thanks for any help you can provide!
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top