How to keep this code result on single line (no split). The result is displayed on a table and the column width is splitting the result in two lines. How to keep the output on single line? How to use the echo to fix that problem? Thank you!
$price = sprintf("%0.2f", $price);
$parts = explode('.', $price);
echo "$parts[0] <span style = 'font-color: #ff0000; font-size:12px'><sup> ,$parts[1] USD</sup></span>";