PHP Classes

File: select.php

Recommend this page to a friend!
  Classes of Farhad   Farhad SQL   select.php   Download  
File: select.php
Role: Example script
Content type: text/plain
Description: select page
Class: Farhad SQL
Execute MySQL queries using parameter values
Author: By
Last change:
Date: 11 years ago
Size: 312 bytes
 

Contents

Class file image Download
/* we are going to select data fron content table where user id = $_session['id'] */
$sql_select=@new sql;
            $sql_select->select('contacs','user_id',$_SESSION['id'].' '.$section);
            $data=$sql_select->result_sl;
            while ($row = $data->fetch_assoc()) {
                echo $row['tell'];
            }