Sunday, August 28, 2011

Tutorial: Simple how to include and use functions in PHP in 7 minutes

TIP: Scroll to 6:45 to see the result first!!! Welcome to my next tutorial :-) In this tutorial we will see how to: Steps: 1. Create 2 php documents in Adobe Dreamweaver CS5 2. Include the 2. php dodument inside the 1. php document with "include()" 3. define a function that has 2 input variables and 1 output variable 4. call the function and echo the result of the function Required and used Software: - Webserver with PHP - Text Editor (or Adobe Dreamweaver like in our example) I hope that you will enjoy this basic tutorial!

No comments:

Post a Comment