Php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Swati walia
    Senior Member
    • Sep 2016
    • 108

    Php

    How the result set of MySQL be handled in PHP?


    The result set can be handled using mysql_fetch_array, mysql_fetch_***oc, mysql_fetch_object or mysql_fetch_row.
  • lisajohn
    Senior Member

    • May 2007
    • 359

    #2
    PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites. It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.

    Comment

    • Guest

      #3
      PHP MySQL Select Query
      mysqli_num_rows(mysqli_result $result): returns number of rows.
      mysqli_fetch_***oc(mysqli_result $result): returns row as an ***ociative array. Each key of the array represents the column name of the table. It return NULL if there are no more rows.

      Comment

      Working...