Location: PHPKode > scripts > stocks > stocks/example.php
<pre>
<?php
// *******************************************************
//       Author: Alexander Kabanov (hide@address.com)
//      Version: $Id$
//  Description: example how to use stocks class
//
// This program is free software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 
// of the License.
//
// ***************************************************************

require('stocks.php');

$stocks = new stocks();

$quotes = array(
    'SEPR' => 'Sepracor'
);

$result = $stocks->get_qoutes($quotes);
print_r($result);

?>
</pre>
Return current item: stocks