Login   Register  
PHP Classes

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gerbrand van DIeijen  >  PHPQuote for Quote.com  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Sample usage
Class: PHPQuote for Quote.com
Retrieve stock quote information from quote.com
Author: By
Last change: Change of filename.
Date: 8 years ago
Size: 326 bytes


Class file image Download

This file will demonstrate the usage of phplycosquote.inc.php
require_once "phpquote_com.inc.php";

$q=new php_lycosquote();


if (! 
$q) {
"Error while retrieving $ticker");

Koers van <? echo $q->Symbol ?> is <?echo $q->Last?>.