<?php
require_once('connection/Config.class.php');
require_once('edwCore.class.php');
$db = new edwCore();
$dataArray = array(
'name' => 'luiz',
'email' => 'fernandoguaiba@gmail.com'
);
$db->selectWhere('contact', $dataArray);
while($data = mysql_fetch_object($db->Command))
{
echo "Name: " . $data->name . "<br>";
echo "Email: " . $data->email . "<br>";
echo "Fone: " . $data->fone . "<br><hr><br>";
}
?>
|