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