Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetAllFieldsPhisicalCurrentPeriod()
- {
- $db = & JFactory::getDBO();
- $query = 'Select *
- From period
- where PhisicalStatus = 0 or PhisicalStatus is null or PhisicalStatus = 2
- order by DateBegin
- limit 1';
- $db->setQuery($query);
- $items = $db->loadAssoc();
- return $items;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement