Code: Select all
<?
...
<td width=\"25%\">$result[price]</td>
...
?>
Code: Select all
$number = (",",".",number_format($number));Moderator: General Moderators
Code: Select all
<?
...
<td width=\"25%\">$result[price]</td>
...
?>
Code: Select all
$number = (",",".",number_format($number));Code: Select all
<?php echo '<td width="25%">' . number_format($result['price'], 2, '.', ',') . '</td>'; ?>Code: Select all
<td width="25%"><?php echo number_format($result['price'], 2, '.', ','); ?></td>Code: Select all
<?php
$price = number_format($result['price'], 2, '.', ',');
echo "<td width=\"25%\">$price</td>";Code: Select all
<?php printf('<td width="25%%">%s</td>', number_format($result['price'], 2, '.', ',')); ?>