PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ifx_nullformat> <ifx_getsqlca
Last updated: Fri, 22 Aug 2008

view this page in

ifx_htmltbl_result

(No version information available, might be only in CVS)

ifx_htmltbl_resultMuestra todos los registros de una consulta en una tabla HTML

Descripción

int ifx_htmltbl_result ( int $result_id [, string $html_table_options ] )

Devuelve el número de registros leídos o FALSE si hubo error.

Muestra todas las filas de la consulta result_id dentro de una tabla html. El argumento segundo, opcional, es una cadena de parámetros del tag <table>

Example #1 Mostrar resultado como una tabla HTML

<?php
$rid 
ifx_prepare ("select * from emp where name like " $name,
                     
$connidIFX_SCROLL);
if (! 
$rid) {
   
/* ... error ... */
}
$rowcount ifx_affected_rows ($rid);
if (
$rowcount 1000) {
    
printf ("Demasiados registros en el resultado (%d)\n<br />"$rowcount);
    die (
"Por favor, restringe tu consulta<br />\n");
}
if (! 
ifx_do($rid) {
  
/* ... error ... */
}

ifx_htmltbl_result ($rid"border=\"2\"");

ifx_free_result($rid);
?>



add a note add a note User Contributed Notes
ifx_htmltbl_result
There are no user contributed notes for this page.

ifx_nullformat> <ifx_getsqlca
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites