Conditional Statements in PHP
Sometimes when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this. In this tutorial we will look at two structures: if...else and switch statements.
- Visit Site:
- Conditional Statements in PHP
- Filed in:
-
PHP / Tutorials & Tips / Introduction to PHP
- Date Added:
- Sep 22, 2006
- Last Updated:
- Sep 22, 2006
License and Pricing Information
| Publisher site visits: | 903 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
- WebCheatSheet
Other listings by this publisher
- How to Encrypt Passwords in the Database
- How to install and cofigure PHP 5 on Windows box
- Blocking access to the login page after three unsuccessful login attempts
- Troubleshooting Active Server Pages (ASP) on Windows 2003
- DSN and DSN-less connections
- Functions in JavaScript
- Conditional Statements in ASP
- JavaScript Form Validation
- How to connect to MS SQL Server database
- How to process the data submitted from HTML form
- How to connect to database using a connection string
- ASP Looping Statements
- Passing JavaScript variables to PHP
- PHP Arrays
- How to connect to MySQL database using PHP
- How to Sort an Array in PHP
- PHP: Multidimensional Arrays
- PHP: Functions
- Loops in JavaScript
- Cookies Basics
- How to Get the Current Page URL
- Dynamic Image Generation using PHP
- ADO and ADO.NET Connection Strings
- How to Create CAPTCHA Protection using PHP and AJAX
- Using Cookies in PHP
- ASP Response Object
- ASP Request Object
- ASP Application Object
- ASP Session Object
- ASP Server Object
- Set Focus to First Available Form Control
- Secure File Upload with PHP
- PHP: Looping Statements
- Form Processing with PHP
- PHP: Sending Email (Text/HTML/Attachments)
- Export Database Schema as XML
- Create Thumbnail Images using PHP
- Working with Directories
- VBScript Functions
- Using Regular Expressions with PHP
