Login   Register  
PHP Classes
elePHPant
Icontem

File: select.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 1 year 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'];
            }