In wordpress we see lots of conditional functions like is_home, is_page, is_single which are implemented to make easy navigations for user, Today I will Explain you how you can make Own Conditional Functions and How You can Use it in Your Web Page.
PHP Function PHP / Functions
When you have a set of variables or want to make your code simpler, you will use a function. Creating a function is really easy.
Recursion in PHP PHP / Functions
A recursive function is just a function that calls itself. In order to make a recursive function not explode all over itself, though, it is important to keep some ideas in mind.
Simple Localization with PHP PHP / Navigation
Interesting ways to localize web sites with PHP. In this article I've offered another alternative, which should be easy for non-programmers to use. We will take advantage of the user function setstring function.
Basic HTML newsletter in PHP/MYSQL PHP / Emailing
This tutorial will teach you how to make a simple newsletter in PHP/MYSQL with account activation. This will require PHP that is not running in SAFE_MODE or PHP that at least allows the sendmail function(duh, you can't send mail without this enabled).
Basic Sessions Tutorial with Register Globals Switched Off PHP / Sessions and Cookies
we're going to show you how you can make use of php sessions easily and quickly. we assume that you are familiar with the basics of php. the php session page and function list can be found here. you should have register globals switched off in your php configuration and for sessions not to use cookies.
Test php mail function on your localhost PHP / Emailing
When you code php mail function you can't test it on your localhost you have to upload and test it on your hosting but now you can test php mail function on your localhost using Argosft mail server.
Welcome to PHP PHP / Getting Started
This is a comprehensive article / tutorial on programming in PHP. It covers a variety of key topics including PHP Structure, Scalar Variables and Data, Data collection: Arrays, Operations and Comparisons, PHP Comparison Operators, PHP Logical Operators, Control Statements, The Function of Functions, and Object Orientation.
Viewsource PHP / Functions
A number of websites, including php.net, allow you to view the source code of their PHP pages. This is usually to allow you to see how the page is put together and how the PHP code itself is written. Usually, it is not possible to view the PHP source but with a built in function in PHP, you can.
PHP/MYSQL Snippets PHP / Getting Started
This tutorial explains the following: Opening and closing PHP tags;
Connecting to a MYSQL Database; Selecting a mysql database; usage of ucfirst, ucwords, strtolower and strtoupper function, Using the date function to print different aspects of the date and time, Printing Browser Info, IP Address and hostname of the ip.
Creating files with PHP PHP / File Operations
To create a file in PHP you use the fopen function, this is the same function that is used to open files but if it does not find the file specified it will create a brand new file for you.