3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

learn the basics of php (works)

learn the basics of php (works)
in this instructable ill show you how to:
setup a local web server
code some php
 
Remove these adsRemove these ads by Signing Up
 

Step 1You will need

you will need
xampp (more about this in next step)
notepad++(optional,but makes coding allot easer)
a web hosting account here (only needed if you want to publish your php code or use more advanced stuff.)
« Previous StepDownload PDFView All StepsNext Step »
5 comments
Oct 2, 2008. 8:34 AMshikaku says:
i recommend w3schools for anything you need computer coding wise, they are good
Jul 31, 2008. 10:13 AMbackcountry says:
I have found this to be a great source for learning html, php, javascript, etc.:

http://w3schools.com

Jul 30, 2008. 5:02 PMsnoyes says:
A good starting point, but a few criticisms:

Step 3 - The difference between 'echo' and 'print' has little to do with HTML. See http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40

Step 4 - Check your spelling. More importantly, use a backslash to escape characters in a string (you show a forward slash). The example showing concatenation with the "." operator should not use quotes

Step 5 - The 'str' variable is missing its $ in the assignment. You have also put the operation in quotes, so the variable would contain the literal string "5+5", and not the result of the operation. Remove the quotes.


Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
3
Author:liammk