1. Computing
Send to a Friend via Email

Learn to write PHP

Getting started with PHP is easier than you might think, and it allows you create rich interactive websites.  Whether you're writing code from scratch, or wanting to pick up some skills to modify existing PHP, use the links below to get started!

Start Learning PHP Now
PHP / MySQL Spotlight10

Str_replace() for strings

Thursday April 24, 2014

You can use the str_replace () PHP function to search and replace within a string.  Here is an example of how you would use it to strip out vowels:

$vowels = array("a", "e", "i", "o", "u");
$no = str_replace($vowels, "", "My name is Joe Smith");
Print $no; 

Technical Interview Tips

Wednesday April 23, 2014

Do you have a job interview coming up for a technical position, as a PHP programmer?  Or are you interested in having one in the future?  Have a look at these technical interview tips.

Copyleft Software

Wednesday April 23, 2014

Copyleft software is a form of open source software that requires all future deviations of the work be released under the same license.  So, if you release it for free you can ensure that all future versions of it are also free.  Read More.

Substrings

Friday April 18, 2014

The substr () function is used to return a portion of a string.  You set the starting point, and how many characters you want it to return.  It then gives you back just that portion of the string.

©2014 About.com. All rights reserved.