raj's blog
Problem : Number of columns displayed
Submitted by raj on Fri, 2006-07-14 08:08. EZ ResultsI used following code to fatch results and display
include_once "../shared/ez_sql_core.php";
include_once "ez_sql_mysql.php";
include_once "ez_results.php";
$db = new ezSQL_mysql ('raj','password','my_database','localhost');
$ezr->num_results_per_page = 4;
$ezr->query_mysql("SELECT rbrid,rsbrid,amt,status FROM alog");
$ezr->display();
?>
it displays only first 3 columns even though as many columns it is requested.
if i use $ezr->debug(); then it shows all columns data was fetched. only display() function shows only 3 columns. When I examine the class, I checked display function which echos results prepared by get() which also do not show where it determines to show only 3 columns.
