Page 1 of 1

Custom page use SQL query?

PostPosted: Sat Nov 28, 2009 8:25 am
by thetraveler
Hi,

I am new to Xataface and have a basic question. I have a custom page that uses the xataface's template system. On this page, I would like to display some data by executing a SQL query. What would be the best way to do it? I don't want to display them as check list nor selection buttons, so the method in the tutorial doesn't quite work.

Much appreciate it if someone can give some hints.

Thanks in advance.

PostPosted: Tue Dec 01, 2009 12:55 am
by Jean
Hi,
For the display you send an array
Code: Select all
df_display(array(), 'Foo.html');

For the templates, you could look at the Smarty documentation.
For the sql query... you have everything in the wiki and in this forum.
Jean