views:

598

answers:

1

Hello. I'm using ExtJS v2.0 . I would like to grab the gridfilter values and pass them to a PHP page as $_POST, $_GET, $variable or any possible method that would work to be inserted in PHP query using this backend code: http://www.vinylfox.com/grid-filter-php-backend-code/

I will use those queryes to print one table with the results and format for print.

Any ideas ?

Thank you!

+1  A: 

GridFilter reloads the store with some search parameters, e.g.:

filter[0][data][type] = string
filter[0][data][value] = some value
filter[0][field] = company

These data will typically end up in PHP in $_POST. So you should analyse these values and create an SQL statement. Like mentioned in the comments, you should quote the values.

Jochen