What does a "?" represent

From: Date: Fri, 17 Feb 2006 19:54:20 +0000
Subject: What does a "?" represent
Groups: php.general 
Request: Send a blank email to php-general+get-230662@lists.php.net to get a copy of this message
In the some code I'm working with I see many database queries using the PEAR DB class where "?" is used for a value in the SQL. What is the rule for using "?" in this way what value does it take. Example code. $ticket=$db->getRow( "SELECT id,department,from, cc, bcc FROM tickets WHERE id=?", array($tid) ); Jeff

« previous php.general (#230662) next »