News:

Looking for documentation? Take a look on our wiki

Main Menu

PHP echo without break

Started by tariq_89, February 10, 2017, 19:53:40 PM

Previous topic - Next topic

tariq_89

I have the code below and it prints checkbox and a text below it. I want the text to be printed next to the checkbox on the same line:

echo VmHtml::checkbox ('STsameAsBT', $this->cart->STsameAsBT,1,0,'id="STsameAsBTjs" data-dynamic-update=1') . vmText::_ ('COM_VIRTUEMART_USER_FORM_ST_SAME_AS_BT');

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum