Php > Code Snippets
How to display stock quotes on your website using Yahoo quotes
How to display stock quotes on your website using Yahoo quotes symbol = $array[0]; $this->last = $array[1]; $this->date = $array[2]; $this->time = $array[3]; $this->change = $array[4]; $this->open = $array[5]; $this->high = $array[6]; $this->low = $array[7]; $this->volume = $array[8]; } } } $quote = new yahoo; $quote->get_stock_quote("MSFT"); echo ("
$quote->symbol
"); echo ("
$quote->time
"); echo ("
$quote->date
"); echo ("
$quote->last
"); echo ("
$quote->change
"); echo ("
$quote->high
"); echo ("
$quote->low
"); ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage