paulopmx/Flexigrid — pull request #34 by mabasic (2012-10-01 21:43:03+00:00)
Title: PHP now uses mysqli to get data from database.

Connection and queries to the database are made with mysqli. It's much
safer and works with latest apache and php versions. I had problems
using the old php file so i made this one.

It's using your principle but with newer code.