<?php ob_start();
/*
Developed by Atul Hansaliya
More details : http://www.beyondmart.com
*/
if(!isset($objb))
{
include("myclass.php");
$objb= new mysqldb("connection.php");
}
// In following example you have to pass value as per argument
// Select query
$qry=$objb->selectquery("tablename","*","where id=2"); // will return records of mysql_query() function
while($rm=mysql_fetch_array($qry,MYSQL_ASSOC))
{
/// here you can read data
// $name=$rm['name'];
}
?>
|