i am trying to store 2 variable value into a single variable in laravel but fail eg
JavaScript
x
$var = 123;
$var1 = 345;
$customer->ot_location = $var.<br>/$var1;
$customer->save();
result should be 123
/345
Advertisement
Answer
JavaScript
$customer->ot_location = $var.'<br>/'.$var1;
$customer->save();