Displaying one field

From: Date: Thu, 28 Sep 2000 19:33:09 +0000
Subject: Displaying one field
Groups: php.db 
Request: Send a blank email to php-db+get-3151@lists.php.net to get a copy of this message
In the following script, how would I just display the field, "PH_CD"? $stmt = 'SELECT * FROM PHOTOS'; $sth = ibase_query($stmt,$dbh); echo("<TABLE border=1>"); while ($row = ibase_fetch_row($sth)) { echo("<TR>"); foreach($row as $col){ echo("<TD>" . $col . "</TD>"); }; echo("</TR>"); }; echo("</TABLE>"); $col->PH_CD does not work. Many thanks........ Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.db (#3151) next »