Date: 09/28/00
- Next message: Vince LaMonica: "Re: [PHP-DB] equivalent to piping in Win98?"
- Previous message: David Tod Sigafoos: "Re: [PHP-DB] equivalent to piping in Win98?"
- Next in thread: Meir kriheli: "Re: [PHP-DB] Displaying one field"
- Reply: Meir kriheli: "Re: [PHP-DB] Displaying one field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Vince LaMonica: "Re: [PHP-DB] equivalent to piping in Win98?"
- Previous message: David Tod Sigafoos: "Re: [PHP-DB] equivalent to piping in Win98?"
- Next in thread: Meir kriheli: "Re: [PHP-DB] Displaying one field"
- Reply: Meir kriheli: "Re: [PHP-DB] Displaying one field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

