Arrays with TableGear

5 views
Skip to first unread message

Monil

unread,
Apr 17, 2011, 4:15:48 PM4/17/11
to TableGear
We are trying to use TableGear for our needs. So far, it has been
great.

We have already coded several functions which return values in
arrays... eg: a product list, order details; and we would like to use
TableGear to display information directly using the arrays, instead of
going back and re-inventing the wheel of writing SQL statements for
TableGear?


Thank you.

Andrew Plummer

unread,
Apr 17, 2011, 9:20:32 PM4/17/11
to tabl...@googlegroups.com
I've tested it with that and it should be doable.
Have a look at the documentation as there should be a parameter to stop the initial autoquery.
Then, do a print_r on $table->data ... if you can mimic the structure of that array it should do what you want.

Andrew

Monil

unread,
Apr 26, 2011, 3:37:28 PM4/26/11
to TableGear
Is it possible to share a working example, please?

On Apr 17, 9:20 pm, Andrew Plummer <plummer.and...@gmail.com> wrote:
> I've tested it with that and it should be doable.
> Have a look at the documentation as there should be a parameter to stop the
> initial autoquery.
> Then, do a print_r on $table->data ... if you can mimic the structure of
> that array it should do what you want.
>
> Andrew
>
Reply all
Reply to author
Forward
0 new messages