I have this SQL by a programmer:
$sql = "
INSERT INTO
`{$database}`.`table`
(
`my_id`,
`xType`,
`subType`,
`recordID`,
`textarea`
)
VALUES
(
{$my_id},
?xType,
?subType,
{$recordID},
?areaText
) ";
My question is why is he using ?
before values? How do I see what values are coming in? I did echo
and it shows ?xType
as ?xType
. No values. What does ? stand for in SQL?