Skip to content
Advanced Web Programming
  • Pages
    • Welcome Advanced Web Programming
    • MODULE HANDBOOK
    • MODULE DESCRIPTOR
    • Contact Details
    • COURSE RESOURCES
      • Example Code for this Course
      • How to Sign up and use LinkedIn learning
      • JavaScript Course Slides
      • PHP Course Slides
    • Week 01-Intro to Course-What is Full Stack Development
    • Week 02-JavaScript Introduction & Basic Structure
    • Week 03-Full Stack JavaScript Frameworks-Why Use Them
    • icon picker
      Week 04-Introduction to PHP
      • 01-Introduction Course Exercises
      • 02-Setting Up a Development Server
      • 03-Intro to PHP
      • 04- Expressions in PHP
    • Week 09-Intro to Node.js - Using Asynchronous Communications
    • Week 10-Continue with Node.js.
      • 19-Introduction to CSS
      • 20-Advanced CSS with CSS3
      • 21-Accessing CSS from JavaScript
    • Week 11-Nodejs. Final Week.
      • 22-Introduction to jQuery
      • 23-Introduction to jQuery Mobile
    • Week 12-Introduction to Vue.js
    • Week 13-Review of Task 2: & React.js
      • 24-Introduction to React
    • Week 14-Assignment Work:Advanced HTML5 Features
      • 26-The HTML5 Canvas
      • 27-HTML5 Audio and Video
      • 28-Other HTML5 Features
    • Week 15-Assignment Work: Bringing it All Together-Assignment How to...
      • 29-Bringing It All Together
    • Week 16- Assessments
    • Advanced Web Programming Course Documents
      • 05-PHP Functions
      • 06-PHP Arrays
      • 07-Practical PHP
      • 08-Introduction to MySQL
      • 09-Mastering MySQL
      • 10-Whats New in PHP 8
      • 11-Accessing MySQL with PHP
      • 12-Form Handling
      • 13-Cookies, Sessions
      • 14-Exploring JavaScript
      • 15-Expressions and Control Flow in JavaScript
      • 16-JavaScript Functions, Objects, and Arrays
      • 17-JavaScript and PHP Validation and Error Handling
      • 18-Using Asynchronous Communication
      • 19-Introduction to CSS
      • 20-Advanced CSS with CSS3
      • 21-Accessing CSS from JavaScript
      • 22-Introduction to jQuery
      • 23-Introduction to jQuery Mobile
      • 24-Introduction to React
      • 25-Introduction to HTML5
      • 26-The HTML5 Canvas
      • 27-HTML5 Audio and Video
      • 28-Other HTML5 Features
      • 29-Bringing It All Together
      • 30-Solutions to the Chapter Questions
      • 02-Setting Up a Development Server
      • 04- Expressions in PHP
      • 01-Introduction Course Exercises
      • 03-Intro to PHP
    • just text

Week 04-Introduction to PHP

04-LECTURE

Ensure that you have a working development environment (a computer running PHP, Apache and MySQL) and a code editor (no specific one required but JetBrains PHPStorm or Visual Studio Code is recommended), all of which are detailed in the "Setting Up Your Development Environment" folder above.
This section contains a general introduction to PHP lecture and then further notes and exercises covering Basic PHP concepts - Syntax, Strings, Numbers and Operators.


wk1-COWB70387.pptx
30.3 MB

04-Tutorials Complete these first!


Further Exercises on PHP if Needed

Wk0101_PHP_NS_GettingStarted_SSS201819.pdf
75.7 kB
Wk0101_PHP_NS_Operators_SSS201819.pdf
143.5 kB
Wk0101_PHP_NS_StringsNumbers_SSS201819.pdf
148.8 kB
Wk0101_PHP_NS_SyntaxStructure_SSS201819.pdf
121 kB
Wk0101_PHP_TS_Numbers_SSS201819.pdf
98.7 kB
Wk0101_PHP_TS_Strings_SSS201819.pdf
75.7 kB

Useful PHP Tutorials Sites


To undertake the practical development work for this module you will need a XAMPP installation (or equivalent) and an IDE - ideally one that natively supports PHP, such as JetBrains PHP Storm. Please find links below to help you get started:
PHP Storm - (explore to find the student download)













 
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.