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.
Deep Learning with Python by François Chollet(16201)
The Mikado Method by Ola Ellnestam Daniel Brolund(13483)
Hello! Python by Anthony Briggs(13271)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(12414)
Dependency Injection in .NET by Mark Seemann(12276)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(11034)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(10895)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10540)
Grails in Action by Glen Smith Peter Ledbrook(10347)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(10310)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(9608)
Kotlin in Action by Dmitry Jemerov(9053)
Hit Refresh by Satya Nadella(9040)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(8705)
The Kubernetes Operator Framework Book by Michael Dame(8488)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8309)
Robo-Advisor with Python by Aki Ranin(8262)
Practical Computer Architecture with Python and ARM by Alan Clements(8234)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(8204)