Training Trains logoInternship
Student login
Knowledge Base / PHP

๐Ÿ˜ PHP

A server language that powers WordPress and a large share of the web, and is easy to host.

  1. 1. Getting started with PHP
    Run PHP locally, and use variables and strings.
  2. 2. Conditions, loops and functions
    if, foreach, and typed functions.
  3. 3. Arrays
    Lists and key-value arrays, plus handy functions.
  4. 4. Strings and dates
    Clean up text, format money, handle Tamil text and work with dates.
  5. 5. Forms and output safety
    Read form data and stop cross-site scripting.
  6. 6. File uploads
    Accept a photo or resume without letting an attacker upload a script.
  7. 7. PHP and MySQL
    Connect with PDO, and always use prepared statements.
  8. 8. Sessions and classes
    Keep a user signed in, and organise code with classes.
  9. 9. JSON APIs
    Serve JSON to React and mobile apps, and call other APIs with cURL.
  10. 10. Security checklist
    The handful of mistakes behind most hacked PHP sites, and CSRF tokens.
  11. 11. PHP quick reference
    Everyday functions on one page.

Finished? Go deeper in the PHP learning path and earn a free certificate.

๐Ÿ’ฌ WhatsApp +91 90250 10144๐Ÿ“ฑ Android app (Google Play)๐Ÿ“ N.G. Palayam Branch: directions๐Ÿ“ Perundurai Branch: directionsAll offices & phone numbersPrivacyCode of Conduct
๐Ÿ’ผ Mentor on LinkedInโ–ถ๏ธ YouTube๐Ÿ“ธ Instagram๐Ÿข LinkedInWhy connect?
ยฉ 2026 Training Trains Software Technologies & Institute, Erode ยท trainingtrains.com