Retrieves first, previous, next and last rows from table based on current position
Things I've learnt - CS
get_data($sql, $xfrm_href, @params)
set_navigation($table, $sort_field, $curr_id)
Retrieves first, previous, next and last rows from table based on current position
Independent of table primary key
Things I've learnt - CS
get_data($sql, $xfrm_href, @params)
set_navigation($table, $sort_field, $curr_id)
Retrieves first, previous, next and last rows from table based on current position
Independent of table primary key
select min($sort_field), 'frst' from $table union select max($sort_field), 'prev' from $table where $sort_field < ? union select min($sort_field), 'next' from $table where $sort_field > ? union select max($sort_field), 'last' from $table
Things I've learnt - CS
get_data($sql, $xfrm_href, @params)
set_navigation($table, $sort_field, $curr_id)
Retrieves first, previous, next and last rows from table based on current position
Independent of table primary key
select min($sort_field), 'frst' from $table union select max($sort_field), 'prev' from $table where $sort_field < ? union select min($sort_field), 'next' from $table where $sort_field > ? union select max($sort_field), 'last' from $table
An introduction to ClearSilver, a fast and function more
An introduction to ClearSilver, a fast and functional HTML templating language for C, Perl, Python and other languages. This talk demonstrates the basics of how to write ClearSilver templates, how to load data into the HDF object in your code, and how to combine the two to generate a web page. less
0 comments
Post a comment