Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alexander  >  stocks  >  example.php  
File: example.php
Role: Example script
Content type: text/plain
Description: example how to use this class
Class: stocks
This class allows you to get stock qoutes
 

Contents

Class file image Download
<pre>
<?php
// *******************************************************
//       Author: Alexander Kabanov (shurikk@mail.ru)
//      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>