want to join us? register, it's easy | help

browse by tag: function

sort by

newest, oldest, most popular


category icon

10 PHP functions you (probably) never use

in PHP added by goodphptutorials, on 14/1/2010 beginner tutorials functions general

When scripting in PHP, we often restrict ourselves to a limited number of API functions: the common ones, like print(), header(), define(), isset(), htmlspecialchars(), etc. If some needed functionality doesn’t exist, we often write it making use of these basic components which we have in mind. The PHP API actually offers a lot of functionality, some useless and some useful; often seldom used. I have been looking through the available functions and was interested to find some really cool functions that I should have known about. Here, I share my findings.

comment save report
category icon

Functions and Variable Scope

in PHP added by goodphptutorials, on 3/12/2005 beginner tutorials functions methods variable scope variables

A function is a declared piece of code that has code as members of it.

comment save report
category icon

Dynamic (2 level) navigation list

in PHP added by finalwebsites, on 16/1/2007 function general navigation nested menu php

The creation of a dynamic nested unordered list without using any JavaScript code is sometimes a problem because the script needs to "remember" the values, sub values and also the query string from previous clicked links. In this tutorial we will learn how to create a dynamic navigation menu powered by PHP and MySQL only. While using standard HTML elements (unordered lists) it's easy to add different CSS styles later.

comment save report
category icon

Higher Order PHP

in PHP added by goodphptutorials, on 7/2/2009 advanced tutorials functional

There's no doubt in my mind that Higher order programming is value added to a programmers toolbox, and with the pending release of PHP 5.3, it's about to become much more mainstream.

comment save report
category icon

10 things you (probably) didn't know about PHP.

in PHP added by goodphptutorials, on 22/2/2007 functions general tips

Here's a short list of cool features that might have slipped under your radar as well

comment save report
category icon

Parse a String with BB Code or RSS

in PHP added by appdev, on 16/7/2009 bb code functions php5 string handling

Writing a function to parse BB Code and RSS Feeds each time you need them is a pain. Here’s a use function to throw into an include or just have on hand for later.

comment save report
category icon

MySQL Functions

in PHP added by goodphptutorials, on 8/12/2005 databases functions mysql reference

The defacto reference for php's mysql reference

comment save report