PHP中的引号

时间:2018-03-07 04:11:37

标签: php html echo

如何使用引号正确/正确地显示它?我只想显示值

这是图片: image

echo '
        <form method="POST" class="form-horizontal">
<div class="col-lg-6">
    <div class="form-group">
        <label class="control-label col-lg-4">Basic Pay</label>
        <div class="col-lg-4">
            <input name="basic_salary" type="text" class="form-control" value="₱ '
        . number_format($basic_salary, 2, '.', ', ') . ' disabled />
        </div>
    </div>

1 个答案:

答案 0 :(得分:0)

echo '<form method="POST" class="form-horizontal">
<div class="col-lg-6">
    <div class="form-group">
        <label class="control-label col-lg-4">Basic Pay</label>
        <div class="col-lg-4">
            <input name="basic_salary" type="text" class="form-control" value="₱ '. number_format($basic_salary, 2, ".", ", ") . '" disabled />
        </div>
    </div>';