Php 输入文本框的回显值
我没有访问“图像”的权限 如何仅回显值,即:500Php 输入文本框的回显值,php,html,Php,Html,我没有访问“图像”的权限 如何仅回显值,即:500 <?php echo htmlentities($img_width); // Outputs: <input type="text" name="image_w" value="500" size="6" maxlength="5"/> ?> 试试看我正在使用htmlentities寻找“值”。你想知道图像宽度是吗?是的,但我能得到它的唯一方法是通过上面的回音。我无法访问输入元素。请详细说明您的问题$
<?php
echo htmlentities($img_width);
// Outputs: <input type="text" name="image_w" value="500" size="6" maxlength="5"/>
?>
试试看我正在使用htmlentities寻找“值”。你想知道图像宽度是吗?是的,但我能得到它的唯一方法是通过上面的回音。我无法访问输入元素。请详细说明您的问题$img_width是输入框,我希望将其“值”用于其他变量。
echo '<input required type = "text" name = "image_w" value="' . $img_width. '" />'