Your SlideShare is downloading. ×
  • Like
first blog entry
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
406
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. in A tutorial made by: Elise Margaret R. Sumanga
  • 2. PHP is a widely usedlanguage which stands for PHP: Hypertext Preprocessor PHP files can containtext, HTML, JavaScript code, and PHP code.
  • 3. To test PHPfiles, makesure you’ve installed...
  • 4. XAMPP is an •Apache •mySQL integratedserver package •PHP of: • Perl XAMPP interprets scripts written in PHP.
  • 5. To test if XAMPP is properly running... Locate “c:xampp” folder Open the xampp_start application
  • 6. All PHP files should besaved in the htdocs folder “c:xampphtdocs”
  • 7. Let’s start this tutorial byopening the text editor that you’ll fall in with!
  • 8. I am using Sublime Text 2 and this is what it looks like :D
  • 9. PHP scripts It startscan be placed with <?php anywhere in and endsthe document. with ?>BASIC PHP SYNTAX
  • 10. BASIC PHP SYNTAX
  • 11. To output strings in the browser, we can use PHP’s echo or print
  • 12. Let’s save ourAll PHP files work and nameshould have it.. .php as its default file Helloworld.php extension.
  • 13. Again, all PHP files should be saved in the htdocs folder“c:xampphtdocs”
  • 14. After saving, you’ll notice that the color of the code changes 
  • 15. There you have it. Now, Open yourit’s time to test browser the code. and type:http://localhost/[nameofyourfile.php]
  • 16. So in our case:http://localhost/helloworld.php