URL into link using PHP ereg_replace.
Posted on July 8, 2011
By Philip Newman
This is probably not the most optimal solution to complete this task but it’s the one that has worked for me for a number of years. If you [...]
Continue Reading
Posted on July 8, 2011
By Philip Newman
This is probably not the most optimal solution to complete this task but it’s the one that has worked for me for a number of years. If you [...]
Posted on July 7, 2011
By Philip Newman
This is a simple function to generate a member’s age from their date of birth.
Posted on July 6, 2011
By Philip Newman
On one of my websites I had a need to pass JSON objects from PHP to Java Script. One of the best ways is by the use of JSON.
Posted on July 5, 2011
By Philip Newman
Today I was working with some of my code and I needed to check the value of a variable was an ‘int’ (or integer) before I could process [...]
Posted on July 4, 2011
By Philip Newman
PHP has a number of functions that deal with cookies but for the purpose of this example I’ll be using setcookie() to send a cookie to you [...]
Posted on July 3, 2011
By Philip Newman
Knowing how to make simple functions is a good skill to have. They are easy to create and can make life a lot easier when creating large ap [...]
Posted on July 2, 2011
By Philip Newman
If you’re designing a large application then chances is you’ll want to start out by creating class that will run a number of back end fu [...]
Posted on July 1, 2011
By Philip Newman
This is a quick tip that I’ve been using for many years. My problem when I first starting coding basic PHP was the need to run a local de [...]
Posted on June 10, 2011
By Philip Newman
This morning Nick (a long time mate of mine) came around excited he’d just finished his exam that qualified him as a sparkie (electrician) [...]
Posted on June 4, 2011
By Philip Newman
Today I was surfing though YouTube and came across Christopher Rice who is a 21 year old singer song writer based in Litchfield Park, USA.