our approach
|
new tutorials
|
contact us
PHP Basics In Pictures
Basics
Variables
Numbers
User functions
Logic & Loops
Files
Practice: Working with Numbers
Write a script that multiplies 347 * 221.
Save the script as
multiply.php
in the
PRACTICEPHP
folder on your computer.
Upload it into the
practicephp
directory on the Web server.
Add the paragraph
What’s 347 times 221?
to
practice.html
, and link that paragraph to
multiply.php
.
Upload
practice.html
to the home directory in your Web site.
View
practice.html
in the browser, then click the new link.
Its output should look like this:
<< BACK
NEXT >>