Re: Datagrid and sorting/paging II
| From: | Mark Wiesemann | Date: | Sat, 07 Jun 2008 19:51:19 +0000 |
| Subject: | Re: Datagrid and sorting/paging II | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28983@lists.php.net to get a copy of this message | ||
Hi Bernhard,
Bernhard Harb wrote:
> This is my sample code:
>
> $datagrid =& new Structures_DataGrid(5);
[...]
> $usergrid = $datagrid->bind('SELECT iduser, username, email FROM
> user', $params, 'MDB2');
> $datagrid->setRequestPrefix('usrtbl_');
RTFM please. ;-)
http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid.setrequestprefix.php
=> "This method needs to be called before bind()."
Regards,
Mark
--
http://www.markwiesemann.eu