NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 5.00 (out of 5)
Number of ratings: 1 Votes

Visitor Rating

PHP: Conditional Statements
26377 PHP: Conditional Statements http://www.webcheatsheet.com/php/if_else_switch.php The If Statement is a way to make decisions based upon the result of a condition. For example, you might have a script that checks if boolean value is true or false, if variable contains number or string value, if an object is empty or populated, etc. The condition can be anything you choose, and you can combine conditions together to make for actions that are more complicated. PHP > Tips and Tutorials > Introduction to PHP Oct 15, 2006 WebCheatSheet

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark PHP: Conditional Statements:


Other links at PHP > Tips and Tutorials > Introduction to PHP
PHP has the capability of doing thousands of different useful things. On of those useful things, is the ability to redirect users using HTTP headers alone. This is different from using plain HTML Meta tags to redirect, as using this method the user won't even see the redirect occur. This can be very useful in creating a page that redirects to different pages, depending on the input to the script.
Category:

PHP Script Tips - PHP Built-in Functions for Strings
Category:

array_fill() example :
Category:

You have to have good knowledge of the following before you can proceed:
HTML
JavaScript
Category:

1. Introduction
2. PHP Variables
3. PHP Comments
4. PHP Output
5. PHP Strings
6. PHP Operators
7. PHP If...Else
8. PHP Switch
9. PHP Arrays
10. PHP While Loop
11. PHP For Loop
12. PHP Foreach Loop
13. PHP Do While Loop
14. PHP Include and Require
15. PHP/HTML Forms
16. PHP POST and GET
Category:




Main Category
199
2044
829
286
175
1801
1439
913
1177
7568
70
917
59
2238
175

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19871
Categories: 1275
Registered Users: 766
Mailing List Subscribers: 2047
Unique Outgoing Hits: 231092

Pagerank Statistics
PR 10
1 site(s)
PR 9
14 site(s)
PR 8
41 site(s)
PR 7
236 site(s)
PR 6
689 site(s)
PR 5
1781 site(s)

PHP News