PHP Classes

File: getAllExample.php

Recommend this page to a friend!
  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: 11 years ago
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>";
   }

 
 
?>