Advanced PHP for Web Development by Christopher Cosentino
Author:Christopher Cosentino [Cosentino, Christopher]
Language: eng
Format: epub
Tags: Web, Page Design, Networking, Programming Languages, Electronic Books, Web Site Development, Computers, Programming, General, Internet, Web Page Design, PHP (Computer Program Language)
ISBN: 9780130085399
Google: McRT5V5q5GQC
Barnesnoble:
Publisher: Prentice Hall
Published: 2003-11-15T08:00:00+00:00
Figure 6-2. stockquote.php
Script 6-2. stockquote.php Line-by-Line Explanation
LINE
DESCRIPTION
18
Print out the beginning HTML for the page, as well as a form asking for the symbol of the stock for which the user wishes to retrieve a quote.
9
Begin the PHP for the page.
10
Check to see if the $symbol variable has been set. If it has, then execute lines 1126.
11
Assign the $file variable to the page that has stock quote information.
12
Assign the data opened from the file() function to the $contents variable. The file() function's argument ($file . $symbol) is the URL appended with the stock quote symbol entered by the user. For example, if the user entered "CSCO" (the symbol for Cisco Systems), then the argument is "http://www.reuters.com/quote.jhtml?ticker=CSCO".
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(17302)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16908)
Hello! Python by Anthony Briggs(16841)
Dependency Injection in .NET by Mark Seemann(15362)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(15048)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(14585)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(14486)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(13730)
Kotlin in Action by Dmitry Jemerov(13435)
Grails in Action by Glen Smith Peter Ledbrook(12977)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(11619)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10572)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(9908)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(9595)
Hit Refresh by Satya Nadella(9041)
The Kubernetes Operator Framework Book by Michael Dame(8515)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8325)
Robo-Advisor with Python by Aki Ranin(8280)
Practical Computer Architecture with Python and ARM by Alan Clements(8254)