All pastes #14553 Raw Edit

pauly

public text v1 · immutable
#14553 ·published 2005-06-14 20:49 UTC
rendered paste body
for ( $i=0 ; $i < $totalRows_cpn_details ; $i++ ) {
print " <tr>";
print " <td>";
print "</td>";
print " <td>";

$type_list=$cpn_types['type_id'];
$type_id=$type_list[i];
// begin Recordset
$type_id__call_type_description = '-1';
if (isset($type_id)) {
  $type_id__call_type_description = $type_id;
}
$query_call_type_description = sprintf("select description from type where id=%s", $type_id__call_type_description);
$call_type_description = $proso->SelectLimit($query_call_type_description) or die($proso->ErrorMsg());
$totalRows_call_type_description = $call_type_description->RecordCount();
// end Recordset
echo $call_type_description->Fields('description');;
print "</td>";

print "<td>";
echo $cpn_details->Fields(duration);
print "</td>";

print "<td>";
echo $cpn_details->Fields(billed);
print "</td>";

$cpn_types=$cpn_details->FetchRow();
print "</tr>";
}