<?php
# includes
include_once("conf.inc.php");
include_once(INCLUDES_PATH."messages.php");
include_once("class_Conection.php");
$conn = new conection();
$sql = "SELECT * FROM table";
$conn->open_conn();
$conn->executeQuery($sql);
$conn->close_conn();
# the result of the sql execution
$reg = mysql_fetch_array($conn->result,MYSQL_ASSOC);
?>
|