x + 10
x < 10
are expressions since they can be evaluated, while
x = 10
is simply a statement
PHP is an open-source scripting language that is embedded alongside HTML to perform interactive functions, such as accessing database information. PHP is similar to Microsoft’s active server page technology, but is used primarily on Linux web servers (or Windows servers with add-on software). An HTML page that has PHP script usually has a “.php” extension. Visit Webmonkey’s Tutorial:PHP Tutorial for Beginners to learn how it works.
A function is a named group of statements in a program that performs a task when it is invoked.
Software developers need to know which platform their software will be running on. A platform can be an Intel processor running Windows, a Macintosh running System 8, or any combination of hardware and software that works together. Platforms are important for web designers to understand, because they need to make sure their pages will work on more than one platform. Different browsers display web pages differently on various platforms. Since the internet itself is a cross-platform system, designers need to test web pages on different combinations of machines and browsers to ensure the widest possible audience will be able to view their sites.
For example, in a normal array, you’d have:
dinner = "monkey brain";
dinner = "meatloaf";
But in a hash, you could use a string as the index:
dinner["monday"] = "monkey brain";
dinner["tuesday"] = "meatloaf";