1 / 9

PHP Introduction: Learn Basics and Fundamentals for Web Development

This textbook explores the basics of PHP in detail. It covers essential concepts and scripts, including variables and predefined elements. Get started with PHP coding for dynamic web development using this guide.

Download Presentation

PHP Introduction: Learn Basics and Fundamentals for Web Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 1 Introduction to PHP Part 1

  2. Textbook’s Code • http://www.larryullman.com/ • DOWNLOADS • PHP and MySQL for Dynamic Web Sites, 5th Edition • Complete Set of Scripts and Commands

  3. second.php • Script 1.3 on page 7 • http://csweb.hh.nku.edu/csc301/frank/ch01/second.php • ch01\second.php

  4. echo echo ‘Hello, world!’; echo “What’s new?”; echo “She said \”How are you?\””;

  5. comments.php • Script 1.4 on page 11 • http://csweb.hh.nku.edu/csc301/frank/ch01/comments.php • ch01\comments.php

  6. predefined.php • Script 1.5 on page 15 • http://csweb.hh.nku.edu/csc301/frank/ch01/predefined.php • ch01\predefined.php

  7. variables • Starts with a $ • $amount

  8. Variable types • Boolean (TRUE or FALSE) • Integer • Floating point • String • Resource (used with databases) • NULL (has no value)

  9. Assignment #2 • Do $_SERVER[‘SERVER_NAME’] • http://csweb.hh.nku.edu/csc301/frank/server.php

More Related