Selecting rows using a cursorslide 2 of 2
while ($row = ifx_fetch_row($statmt_id, ”NEXT” )) {
$serial_id = $row[serial_id];
$type_code = chop($row[type_code]);
$tape_num = $row[tape_num];
$title = chop($row[title]);
$comment = chop($row[comment]);
echo "<td><center>$serial_id</td>";
echo "<td><center>$type_code</td>";
echo "<td><center>$tape_num</td>";
echo "<td>$comment</td>";
--- Continued from previous slide ---
Use “chop” to remove trailing blanks if desired.
Populate fields from associative array