Php 如何将多字字符串作为单选值传递?
如何将“What is Php?”作为单选按钮的值传递 $records['quick_name']=“什么是Php?”或者“什么是Html?”Php 如何将多字字符串作为单选值传递?,php,html,Php,Html,如何将“What is Php?”作为单选按钮的值传递 $records['quick_name']=“什么是Php?”或者“什么是Html?” 如何解决此问题?我知道它与空白空间有关。谢谢你你的代码中缺少了一些引号,这使得它无法剪切字符串,只需添加它们即可 echo "<input type=radio name=name_quiz value='".$records["quiz_name"]."'>".$records["quiz_name"]."<br>";
如何解决此问题?我知道它与空白空间有关。谢谢你你的代码中缺少了一些引号,这使得它无法剪切字符串,只需添加它们即可
echo "<input type=radio name=name_quiz value='".$records["quiz_name"]."'>".$records["quiz_name"]."<br>";
//^ ^those two
echo.“$records[“quick_name”]。”
;
//^^那两个
我总是喜欢单引号和双引号。
var($_POST) = array(1) { ["name_quiz"]=> string(4) "What" }
echo "<input type=radio name=name_quiz value='".$records["quiz_name"]."'>".$records["quiz_name"]."<br>";
//^ ^those two