简体   繁体   中英

quotation marks in PHP

How to properly/correctly display this using quotes? I'd like to display only the value

Here's the 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>
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>';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM