How to Check a Value Is Numeric in PHP
Definition and Usage of is_numeric in PHP The is_numeric() function describes whether a variable is a number or a string of numbers. If the variable is a number or a …
PHP powers ~80% of websites with server-side code, WordPress, Facebook (originally), Wikipedia, Slack admin, and the vast majority of Philippine BSIT capstones. This hub collects free PHP tutorials from “hello world” through PDO database integration, sessions and authentication, Laravel and CodeIgniter frameworks, and REST API patterns.
What you’ll learn in the PHP tutorial series
Beginner basics: variables, arrays, conditionals, loops, functions
Form handling: GET/POST processing, validation, sanitization
MySQL database integration: connecting, querying, prepared statements (PDO + mysqli)
Sessions and authentication: login systems, password hashing with bcrypt
Object-Oriented PHP: classes, inheritance, namespaces, autoloading
Frameworks: Laravel (modern), CodeIgniter (lightweight)
REST API patterns: JSON responses, routing, status codes, JWT auth
Security essentials: SQL injection prevention, XSS, CSRF tokens
Why PHP is still the #1 BSIT capstone language
In the Philippines, PHP + MySQL remains the most defensible capstone stack: (1) universal hosting: every cPanel shared host supports it, (2) panels are familiar with PHP code patterns, (3) massive open-source ecosystem including WordPress, Laravel, and Symfony, (4) easy deployment from local XAMPP to live shared hosting. PHP 8.x has modern features (named arguments, enums, readonly properties) that match newer languages.
Recommended PHP development setup
XAMPP or Laragon: local PHP + MySQL + Apache stack (free)
PHP 8.2+ (current stable as of 2026)
VS Code with PHP Intelephense extension
Composer for package management
Postman or Insomnia for API testing
phpMyAdmin for database GUI (bundled with XAMPP)
Related PHP resources
PHP Projects, 300+ downloadable PHP capstones
Laravel Projects, modern PHP framework
CodeIgniter Projects, lightweight PHP framework
MySQL Projects, database integration
AJAX Projects, modern PHP + JS integration
Scroll down to browse the full PHP tutorial catalog ↓
Definition and Usage of is_numeric in PHP The is_numeric() function describes whether a variable is a number or a string of numbers. If the variable is a number or a …
What are PHP anonymous functions? PHP anonymous functions are also called closure or lambda functions. This allows programmers to create and use functions even that are not specified in the …
PHP has many built-in functions that make the first letter capital. We are going to show you three methods on how to capitalize the first letter of a string in …
This topic is all about identifying how to use the functions in_array() and not in array in PHP. This will deepen your knowledge about PHP programming by learning the in_array …
What is const PHP class? The const PHP class is the function used to define or apply the constant as a class in programming. This is usually applied when you …
Based on the standard practices of every programmer, each organization has its own coding standards. PHP Coding Standards are important because there may be many programmers working on different modules. …
What is a Session in PHP? PHP Sessions is a way to keep information from one web page to the next so that users can be recognized as they move …
In PHP, there are two functions that are used to put the contents of a file containing PHP source code into another PHP file, and these are include and require. What …
What is a Cookie? A cookie (browser cookies) is a little data file that a web server requests from a user’s browser to save. This data is then present in …
What is decision-making in PHP? Decision-making in PHP is the method that enables programmers to create options or decisions through conditional statements. Moreover, for decision-making statements to work, the programmer …
What is loops statement in PHP? When you write code, you often want to execute the same block of code a certain number of times. So, we can use loops …
Like other programming languages, PHP has its own set of programming keywords and built-in functions that are very useful for web and system development. Additionally, it also gives alternative actions …
Uploading files to the server would be easier using an HTML form and a PHP script. At first, the files are uploaded to a temporary directory, and then a PHP …
mysql_* functions need 2-3 small patches to mysqli or PDO for PHP 8 compatibility.localhost/your-project in minutes. Pair with VS Code + Intelephense extension for the best free PHP IDE experience.$stmt = $pdo->prepare("SELECT * FROM users WHERE id = ?"); $stmt->execute([$user_id]);. Prepared statements + parameter binding = SQL injection prevention by design. The mysqli extension also supports prepared statements if you prefer it over PDO.