Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

ifx htmltbl result function syntax tag tutorial 2013





Alert! Connect with 10,000 Chating Online. Join Now

Php ifx htmltbl result () function

Write your php code

 
<?php ?>

Php Result


Your code below



(PHP 3>= 3.0.3, PHP 4 , PHP 5)

ifx_htmltbl_result --  Formats all rows of a query into a HTML table

Syntax

int ifx_htmltbl_result ( int result_id [, string html_table_options] )

Returns the number of rows fetched or FALSE on error.

Formats all rows of the result_id query into a HTML table. The optional second argument is a string of <table> tag options

Example 1. Informix results as HTML table

<?php
$rid
= ifx_prepare ("select * from emp where name like " . $name,
                     
$connid, IFX_SCROLL);
if (!
$rid) {
    
/* ... error ... */
}
$rowcount = ifx_affected_rows ($rid);
if (
$rowcount > 1000) {
    
printf ("Too many rows in result set (%d)\n<br />", $rowcount);
    die (
"Please restrict your query<br />\n");
}
if (!
ifx_do($rid)) {
    
/* ... error ... */
}

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

ifx_free_result($rid);
?>

Php ifx htmltbl result Function syntax tag

ifx htmltbl result php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online



Php ifx htmltbl result syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.


Function index

Variables

Expressions

Operators

Control-Structures

Cookies

Array

Date & Time

Directory function

File

Image

Operators

Form data handling

Mathematics operators

Mail

Php Mysql

Network Functions

Strings

php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
 
 
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online