Selecting rows using a cursorslide 1 of 2
$statmt_txt = "select * from vhs where type_code = 'ST1' order by title";
$statmt_id = ifx_prepare($statmt_txt,$connect_id,IFX_SCROLL); // PREPARE
if (!$statmt_id) { chk_ifx_err1($statmt_id); } // CHECK FOR ERROR
$ret_val = ifx_do($statmt_id); // EXECUTE PREPARED STATEMENT
if (!$ret_val) { chk_ifx_err1($statmt_id); } // CHECK FOR ERROR
echo <table border=5 cellspacing=0 cellpadding=5 bgcolor=cornsilk>”; // HTML
--- Continued on next slide ---