Aut*_*cus 1 mysql sql named-parameters
我有一个程序员的SQL:
$sql = "
INSERT INTO
`{$database}`.`table`
(
`my_id`,
`xType`,
`subType`,
`recordID`,
`textarea`
)
VALUES
(
{$my_id},
?xType,
?subType,
{$recordID},
?areaText
) ";
Run Code Online (Sandbox Code Playgroud)
我的问题是为什么他?在价值观之前使用?我怎样才能看到有什么价值?我做了echo,它显示?xType为?xType.没有价值.什么 在SQL中代表什么?