What does ‘?’ stand for in SQL?

Posted by user295189 on Stack Overflow See other posts from Stack Overflow or by user295189
Published on 2010-06-15T21:28:45Z Indexed on 2010/06/15 22:02 UTC
Read the original article Hit count: 96

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql