Login   Register  
PHP Classes
elePHPant
Icontem

File: getAllExample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Fernando Alls  >  Easy DB Work  >  getAllExample.php  >  Download  
File: getAllExample.php
Role: Example script
Content type: text/plain
Description: Get All
Class: Easy DB Work
Execute MySQL queries using parameter lists
Author: By
Last change:
Date: 2012-06-08 07:34
Size: 369 bytes
 

Contents

Class file image Download
<?php
require_once('connection/Config.class.php');
require_once(
'edwCore.class.php');

$db = new edwCore();
  
  
 
$db->getAll('contact');
 
  while(
$data mysql_fetch_object($db->Command))
   {
     echo 
"Name: "  $data->name  "<br>";
     echo 
"Email: " $data->email "<br>";
     echo 
"Fone: "  $data->fone  "<br><hr><br>";
   }

 
 
?>