PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Structures » Structures_DataGrid » Bug #6779

sort bug

Details

Submitted2006-02-14 13:31 UTC
Fromchonny_78 at yahoo dot com
Assignedwiesemann
StatusClosed
PackageStructures_DataGrid
PHP Version5.1.1
OSwindows small bussines 2003
Roadmaps(Not assigned)

Comments

[2006-02-14 13:31 UTC] chonny_78 at yahoo dot com

Description:
------------
sort bug with php 5.1.1. Sort dont working with new version of php. I tested this script on two mashines.

Test script:
---------------
<?php
require_once('Structures/DataGrid.php');

$mysqli = new mysqli('host','usr','pass','hr');
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
$rs = $mysqli->query('SELECT * FROM users u;');
while ($row = $rs->fetch_assoc()) {
$data[] = $row;
}
$dg = new Structures_DataGrid();
$dg->bind($data);
$dg->render();
$rs->close;
?>