RE: [PHP] SQL ?

From: Date: Mon, 12 Aug 2002 14:24:43 +0000
Subject: RE: [PHP] SQL ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112131@lists.php.net to get a copy of this message
[snip] SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A [/snip] Answer-A is a handle for the data which you can use later when trying to display the results via PHP, as in an object line; print($data->Answer-A); HTH! Jay

« previous php.general (#112131) next »