PHP code example of tripda / curse
1. Go to this page and download the library: Download tripda/curse 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/ */
tripda / curse example snippets
$storedProcedureName = 'sp_get_products';
$storedProcedureParameters = array();
$cursorReader = new SequentialCursorReader($connection, $storedProcedureName, $storedProcedureParameters);
$cursorReader->open();
while ($result = $cursorReader->read()) {
// Do something here with one result
}
$cursorReader->close();
__destruct