
Learn core PHP concepts from basics to object-oriented programming, covering variables, server setup, syntax, functions, and database access, with hands-on Codeigniter integration.
Download, install, and configure XAMPP on Windows, choose the version and language, set the install path, and start Apache to run PHP scripts with the bundled PHP and database features.
Learn how to create and save PHP files with a .php extension, run them on a local server, and organize folders with index.php to execute scripts.
Learn how to define html inside a php script using proper php tags and echo, and how to run php scripts to render html content.
Demonstrate using single-line and multi-line comments in PHP to disable code, and explain PHP's case sensitivity with variables defined in lower versus upper case.
Define and manage PHP variables with the dollar sign and valid names, explore integers, floats, and strings, use echo and dot for concatenation, and note undefined variables and case sensitivity.
Explore PHP data types, including integer, string, float, boolean, array, object, and null, and learn storing values, echoing outputs, and using arrays with multiple values and objects with properties.
Learn how to concatenate strings and variables in PHP using single or double quotes and the dot operator, and understand constants defined with define() for stable values.
Explore arithmetic and assignment operators in PHP, perform addition, subtraction, multiplication, division, modulus, and exponentiation, and master comparison, increment/decrement, and logical operators.
Master PHP conditionals with if, else, and switch to control code flow and compare values. Learn how true/false outcomes and break statements govern switch blocks.
Explore the scope and usage of local and global variables in PHP, and learn how to access global variables inside functions with the global keyword and how to pass arguments.
Compare echo and print in PHP, noting echo can take multiple parameters while print returns a value. Discuss using var_dump to show the data type and value.
Explore how to use for, while, and do while loops in PHP to repeat code and fetch hundreds or millions of records, including for each loops and practical examples.
Learn to use die and exit in PHP to interrupt script execution, debug code, and control flow within functions and loops.
Explore PHP functions, using built-in and user defined functions to organize code, pass arguments, return values, and manage local and global variables with practical call examples.
Learn how to use arrays in PHP to store multiple values, access elements by zero-based indexes, and work with array variables, while future lessons cover associative arrays.
Explore the difference between local and global variables, understand scope, and learn how to access global variables inside functions using the global keyword in PHP.
Explore server variables in PHP, learn how super global server variables provide information about headers, script locations, server name, port, protocol, and software.
Explore retrieving form data with the $_POST variable in PHP and comparing it to the get method. Learn to check inputs, fetch values by name, and echo results.
Explore how to work with time and date in PHP using the date function, format timestamps, and manage time zones for storing and searching data.
Explore how PHP sessions securely store sensitive information, such as passwords and credit card details, using session_start and $_SESSION to store, fetch, update, and destroy data.
Enable php file uploads, build a multipart form, and upload an image by validating size and allowed extensions (jpg, jpeg, png), then move it to the uploads directory.
Learn how cookies work in PHP: create, store, check, and delete cookies in the user's browser to optimize speed and fetch data without repeated database calls.
Explore the object oriented environment by creating classes and objects, defining properties and methods, and using constructors to initialize instances with title, author, and pages.
Explore visibility, static properties and methods, and inheritance in PHP classes, and see how public, private, and protected members and class extension function in object oriented environment.
Explore interfaces and abstract classes in PHP, learn how interfaces enforce method contracts and how abstract classes provide shared behavior with practical book and novel examples.
Learn how to reuse code in PHP with traits and organize code with namespaces, illustrated by a logger trait, book classes, and Laravel-style examples.
Master handling errors in PHP by using try-catch and finally blocks, throwing and defining custom exceptions, and displaying user-friendly messages without exposing warnings in production.
Connect to a local database with PDO, perform CRUD operations on a book inventory, and handle exceptions with try-catch, including inserting, fetching, updating, and deleting records.
Explore magic methods including constructor, destructor, and toString, and master autoloading with composer, namespaces, and PSR-4 autoloading in a practical PHP project.
Explore sql basics for relational databases, executing commands, updating records, deleting data, and managing permissions in php projects.
Discover how relational database management systems enable permanent data storage, use standard sql commands across major databases, and organize data into tables with columns like id, name, city, and country.
Explore how databases organize data into tables with columns and entries. Learn to retrieve all data with select from users and fetch specific columns, using semicolon conventions.
Compare relational SQL databases and NoSQL databases, showing how SQL statements query tables while NoSQL uses document-based, key-value data with dynamic schemas, with MongoDB as a popular example.
Learn to install and configure MySQL, run a local server with XAMPP, and manage databases with phpMyAdmin and JetBrains tools to create a school database.
Learn to create a university database and a students table using SQL, with id, name, city, and address, and practice inserting and querying data.
Learn how to fetch data from a database using the select statement, retrieving all columns or specific ones like first name and email.
Explore how the select distinct statement in SQL returns only unique values and eliminates duplicate records, with examples using student data to demonstrate distinct names and addresses.
Filter database records with the where clause in SQL, selecting specific columns such as first name, last name, and email, and handling numeric versus string conditions with quotes.
Learn how SQL operators and, or, and not combine conditions to filter results, using address and id examples to show when records are included or excluded.
Learn how to use the order by clause in SQL to sort query results in ascending or descending order, including sorting by ID and city.
Learn how to insert data into a specific table using the insert statement. Explore two methods: specify columns and values, or supply all values, then verify with a select.
Explore how null values work in sql by using is null and is not null to fetch records from the students table, and update or query address fields accordingly.
Use the update statement to modify existing records in the student table. Update specific columns with set values, or apply where id equals six to target.
Learn how to use the SQL delete statement to remove a single row or all records from a table, using where clauses and unique IDs with auto increment.
Explore how the IN operator enables matching multiple values in a SQL where clause, with practical inserts and selects on a student table.
Explore sql aliasing to rename columns in queries, using as to assign temporary names such as select first name as my name and city as city, and tailor the results.
Master the between operator in SQL to filter records by a range, with syntax select from table where column between value1 and value2 and examples such as 8 to 14.
Explore aggregate functions in SQL, including min, max, sum, count, and avg, with examples from a student table to compute minimums, maximums, totals, counts, and averages.
Explore how the like operator enables pattern-based SQL searches, using the percent sign to match beginnings, endings, and patterns within city data in queries.
Learn how to fetch data from multiple tables using inner join in SQL, linking students and subjects by student ID and using aliases for clear results.
Explore how the left join retrieves all rows from the left table and matched rows from the right table, using subject and reserves data to contrast with inner join results.
Explore how to use group by in SQL to group data by cities and other columns, and apply aggregate functions like count, max, mean, sum, and average to produce insights.
discover how the having clause filters grouped results after applying aggregate functions, and see examples using conditions like greater than one or equals to one.
Explore subqueries in SQL, learning how a query inside a query works with parentheses, counting subject enrollments and retrieving related student data.
This lecture demonstrates showing databases, creating a new database with a chosen name, and dropping it, then showing databases again to confirm the updated list.
Learn to create tables in SQL using create table statement, define columns and data types, and execute commands such as show tables and insert into to manage a university database.
Learn to alter SQL tables by adding and dropping columns with alter table syntax. The lecture demonstrates creating tables and running select queries on a university database.
Learn how to define SQL constraints, including primary keys, foreign keys, auto increment, and not null, while creating and linking tables such as classes and students.
Connect to a MySQL database from PHP and establish the connection. Create tables, insert, update, select, and delete records, validating access and handling errors.
Explore PHP 8's new features and improvements that boost coding efficiency and enjoyment, and learn why this upgrade matters for web development in the complete PHP course.
Explore what jit is in php 8, how tracing jit and function jit boost performance, and how to enable it in the ini file to achieve faster execution.
Explore union types in PHP 8, enabling functions to accept or return multiple types, such as integers and strings, with practical error handling via try-catch.
Improve code readability in PHP 8 by using named arguments to specify each function parameter by name, as demonstrated with coffee, accounts, and string operations.
Master match expressions in PHP 8 as a cleaner alternative to switch statements for deciding between conditions. Use API status codes and time-of-day prompts to show concise, default handling.
Explore attributes in PHP 8 to annotate classes and methods, tagging code with extra information for tools and developers; use reflection to retrieve and display property attributes.
Learn how constructor property promotions in PHP 8 streamline class definitions by declaring properties directly in the constructor, reducing boilerplate, and keeping code clean.
Explore the nullsafe operator in PHP 8 to simplify null checks, safely access properties and methods on null values, and avoid errors with a user email example.
Explore PHP 8's stringable interface and __toString, enabling objects to return a string representation (like a user name) so echoing the object outputs that text.
Explore PHP 8's mixed type, showing how functions and variables accept arrays, strings, floats, and integers. Learn to detect and process mixed inputs with conditional logic and practical examples.
Master creating and validating a PHP form, connecting to a database, and performing insert, update, and delete operations on a students table, with fetch, display, and flash messaging.
Discover the server requirements to run CodeIgniter 4, including setting up PHP 7.2 or higher, enabling JSON, MySQL, and Intl and Bstring extensions, and verifying with PHP info.
Download and install CodeIgniter 4 using manual or composer options from the official website, and configure it for your application.
Learn to download, install, and configure CodeIgniter 4 using composer, the PHP dependency manager, and set up the project locally with vendor, app, and public folders.
Explore the application structure by reviewing core folders app, public, system, and writable; manage cache, logs, and uploads; organize images and CSVs in public with index routing in mind.
Explore the CodeIgniter 4 app folder, including models, controllers, views, config, database migrations, seeds, language, library, helpers, and third-party integrations.
Explore design patterns and the model–view–controller architecture, detailing how models, views, and controllers separate business logic and data flow in PHP frameworks like Laravel and Codeigniter.
Learn to run your PHP application on a local development server by configuring the environment, base URL, and database settings.
Learn how to create and use controllers in CodeIgniter 4, including base controllers, the MVC design pattern, and routing requests to controller methods.
Explore the CodeIgniter 4 URL structure, controller routing, and parameter passing, illustrating how the index method maps to domain paths and how public and weather folders organize the app.
Learn how CodeIgniter 4 renders views, create view files, and load them from controllers. Pass data to views as associative arrays and display it with loops in your html.
Explore CodeIgniter helpers, a collection of procedural functions you load to perform tasks such as creating html forms with the form helper, and using cookie and security helpers.
Load the CodeIgniter form helper and build forms with open and close tags. Create text fields, textareas, hidden and password inputs, file uploads, dropdowns, checkboxes, and radios with customizable attributes.
Explore the codeigniter 4 inflector helper to convert words between singular and plural, apply underscore formatting, and perform basic case transformations with practical examples.
discover how the url helper in CodeIgniter 4 simplifies building links and handling urls, including site_url, base_url, current_url, and anchor functions, with practical examples.
This lecture demonstrates connecting a CodeIgniter 4 app to a database, configuring connection details in app/config/database.php or in the env file, and creating a sample table using the data grid.
Discover how to connect to a database in CodeIgniter 4 and use the query builder to fetch, filter, and aggregate results with methods like select, where, get, and min/max/sum/avg.
Explore CodeIgniter 4's query builder class to simplify SQL, connect to databases, select columns, apply where clauses, fetch results, and compute aggregates like min, max, sum, and average.
Learn to use the CodeIgniter 4 query builder to interact with databases, get the last query and insert id, count rows, and inspect table columns and version.
Learn how to build queries in CodeIgniter 4 using select and where with and, or, in, and not in, including associative arrays and multiple conditions to fetch precise results.
Master the CodeIgniter 4 query builder by applying like, or_like, not_like, and having with group by to filter and aggregate results.
Explore how to use CodeIgniter to perform insert, update, update_batch, and delete operations, including single and batch inserts, conditional updates, and delete actions with where clauses.
Explore method chaining in CodeIgniter 4 to simplify query building by chaining select and where on a builder, then use get to fetch results.
Learn to fetch and manage database metadata in CodeIgniter 4, including listing tables, checking table existence, and retrieving column names.
Learn to handle incoming requests in CodeIgniter 4 by submitting a form from a view to a controller and retrieving data with the incoming class using get and post values.
Learn PHP's alternative syntax for control structures in views, using if statements to minimize code, and pass and access associative data from a controller to a view.
Learn to embed Bootstrap 4 in CodeIgniter 4 by loading CSS and JS via CDN or local files, include jQuery, and verify functionality in your project.
Explore object-relational mapping in CodeIgniter 4, mapping object properties to database columns using models and entities, and use the ORM builder to insert records without hard-coded SQL.
Create and configure a CodeIgniter 4 model by defining the class, namespace, table name, primary key, and return type; connect to the database and call the model from a controller.
This lecture shows using the codeigniter query builder with a model to fetch all records, find by id, filter with where, join tables, select columns, and insert new records.
Learn how to perform update and delete operations using a model in CodeIgniter 4, updating records by id with a data array and deleting records with ids or conditions.
Retrieve records through the model, send them from the controller to the view, and display the data in a CodeIgniter 4 page.
Learn to remove the public folder and index.php from CodeIgniter 4 URLs, enabling seo-friendly routing with an access file and path info tweaks.
Learn how to manage development and production versions in CodeIgniter by configuring environments in your local setup, switching between development mode and production deployment.
Discover how to load helpers and libraries, then use classes for email, encryption, file handling, image manipulation, sessions, and pagination.
Create and configure a database for your Codeigniter project using phpMyAdmin, define a student info table, and build a model to perform CRUD operations.
Learn how to implement pagination in CodeIgniter 4 by breaking large datasets into pages, wiring models and views, and displaying database records with page links.
Explore how CodeIgniter 4 uses services to load libraries and classes, call validations and image manipulation, and access library methods through services.
Explore how to validate forms in CodeIgniter 4 using the form validation class, defining rules for name, phone, and username. Learn to check for existing records and insert new data.
Learn how to validate form data in CodeIgniter 4 using the validation class, define required rules for name, phone, and username, check for existing records, and insert validated data.
Master uploading images with the CodeIgniter 4 upload library using multipart forms, moving files to public assets images, and storing references in the database.
Learn how the session library in CodeIgniter 4 works, store and retrieve user data with the set method, manage login state, and destroy or check sessions.
Embed a bootstrap template into Codeigniter 4 by integrating css, js, and jquery, then split the html into modular views like navigation, home, and footer for scalable layouts.
Learn to set up Bootstrap 4 templates in CodeIgniter 4 by building modular header, navigation, content, and footer views. Integrate registration forms and a paginated student list.
Explore crud operations in Codeigniter 4, including download, install, set up the database, and perform insert, update, and delete, with form validation and HTML form creation.
Learn to download, install, and configure CodeIgniter, create and connect a database, build a students table, and configure database settings for CRUD operations.
Create a CodeIgniter 4 model in the models folder, set the table name and primary key, define allowed fields, and use timestamps for inserts and updates.
Create a form using html or bootstrap or the built-in form helper, submit via get or post, insert the new student with a model, and redirect to the students page.
Fetch all student records from database using the model, display them in the view, and manage add or edit actions with the controller using active record or the query builder.
Learn to update a student record in a CodeIgniter PHP app by validating the ID in the controller, loading the model, and applying the update with proper error handling.
Learn how to delete a student record in CodeIgniter using the controller and model, with active record or query builder, including validation, flash data, and redirects.
Learn to add bootstrap 4 to a CRUD application by downloading bootstrap assets or using the downloaded files, and include CSS and JS in the page to enable bootstrap features.
Explore how to set up a signup and login system from scratch using CodeIgniter, including prerequisites, project structure, database creation, form validation, and activation email flows.
Learn to build a registration form in CodeIgniter 4 using either HTML/bootstrap or the form helper, with routes, a user controller, a view, and fields name, email, and password.
Create a database and a users table in CodeIgniter 4, define fields like id, name, email, and password, and build a model to insert and hash data and activation links.
Learn how to validate a signup form in CodeIgniter 4 by applying name, email, and password rules, displaying errors, and fetching input data from HTML to the controller.
Learn how to send activation emails in CodeIgniter 4 by configuring SMTP, writing HTML emails, generating activation links, storing them in the database, and updating user status to activate accounts.
Validate a user before inserting data in CodeIgniter 4 by checking email existence, preventing duplicates, and sending the email to the user with an activation link.
Master using flash data in CodeIgniter 4 with redirects by setting and retrieving session flash data that survives one request and then clears automatically.
Build a login form in CodeIgniter 4, create the sign-in view, validate email and password, check database records, and manage sessions for a secure sign-in.
Review the end-to-end workflow from installation to database integration and signup forms, covering data flow from views to controller, data insertion, and email verification, with login validations.
Welcome to "The Complete PHP Course from Core PHP to PHP7 & Codeigniter" - your ultimate pathway to mastering PHP, one of the world's most popular and powerful web development languages. This course is designed to take you on a comprehensive journey through the realms of PHP, from its core concepts to the sophisticated techniques in PHP7 and the robust framework of Codeigniter 4.
Starting with Core PHP, this course lays a solid foundation by introducing you to the basics of PHP programming. You'll learn about variables, data types, operators, and control structures, allowing you to create simple yet effective web applications. The course then delves into more advanced topics like functions, sessions, and cookies, which are essential for enhancing your web application's functionality and user experience.
As you gain confidence with the basics, the course shifts focus to Object-Oriented Programming (OOP) in PHP. This section elevates your programming skills, covering crucial OOP concepts such as classes, objects, inheritance, and encapsulation. By mastering OOP, you'll be able to write more efficient, scalable, and maintainable code, a skill highly valued in complex web development projects.
With PHP8, you'll be introduced to PHP's latest advancements and new features. This includes a deep dive into the JIT compiler, union types, named arguments, attributes, and match expressions. These features not only enhance the performance of PHP applications but also offer more powerful and expressive ways of coding.
The final part of the course is dedicated to Codeigniter 4, a lightweight yet powerful PHP framework. You'll learn to set up Codeigniter, work with its MVC architecture, and utilize its libraries and helpers. The course will guide you through creating full-featured web applications using Codeigniter, covering database access, form validation, session management, and security practices.
Throughout the course, you'll be engaged in hands-on projects and real-world scenarios, providing practical experience and insights into modern web development. You'll also have access to numerous resources, code examples, and exercises to reinforce your learning.
By the end of this course, you will have a thorough understanding of PHP in all its aspects, from the basics to PHP7, coupled with the skills to develop dynamic, database-driven websites using Codeigniter 4. Whether you're a beginner eager to dive into web development or a seasoned programmer looking to update your skills, this course is tailored to provide a comprehensive, engaging, and rewarding learning experience.
Enroll in "The Complete PHP Course from Core PHP to PHP7 & Codeigniter" today and start your journey towards becoming a proficient PHP developer, ready to tackle the challenges of modern web development!