I have a field in the database called $RowOffset which is an Integer and I want to use it in an embedded style like this:
<div class="seatsrow" style="margin-left:$RowOffsetpx">
However it doesn’t work as it sees it as a variable called $RowOffsetpx instead of $RowOffset for obvious reasons.
Desired result is
<div class="seatsrow" style="margin-left:20px">
This doesn’t work because of the space:
<div class="seatsrow" style="margin-left:$RowOffset px">
Is there a way to encapsulate the variable say like this:
<div class="seatsrow" style="margin-left:_v($RowOffset)px">
Hope that makes sense. :)