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:
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!
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 " . $numpeople . " 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!