This is what I’ve done.
$objInfo
is the CFDBIterator
object, as seen in tutorials I’ve read. I use a while
loop to add rows to a custom table I’m making.
while ($row = $objInfo->nextRow()) {
printf('<tr><td>%s</td><td>%s</td><td colspan="2">%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>',
$row['Miembro'], $row['your-date'], $row['Concepto'], 'Pendiente', $row['Transaccion'], $row['SaldoFinal'],
$row['Archivo'], "Borrar|Editar");
}
echo '</table>';
All the other fields work perfectly, but $row['Archivo']
(Archivo stands for file) gets an unusable string, instead of a link.
I need to get a link as well.