PHP code example of lambdatt-php / utils
1. Go to this page and download the library: Download lambdatt-php/utils library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lambdatt-php / utils example snippets
// returns a list of dates (YYYY-mm-dd) between $startDate and $endDate
$this->getDao('tablename')
->generate_dateseries($startDate, $endDate)
->find("SELECT * FROM dateseries");
$this->getService('utils/mail')->send($msg, $recipientAddress, $subject);