Re: [richo] Listing by letters of the alphabet
John, welcome to the CMS Builder forum! :)
That's a bit more of an advanced request, but you can do it with a MySQL WHERE statement like this:
title LIKE "a%"So you can either add that in the code generator or to the code itself like this:
list($newsRecords, $newsDetails) = getRecords(array(
'tableName' => 'news',
'perPage' => 3,
'where' => 'title LIKE "a%"',
));
Hope that helps! Let me know if you need more details.
Dave Edis - Senior Developer
interactivetools.com