Follow Us!

What’s new in HTML 5

Posted by on Dec 27, 2011 in HTML Tutorials, Web Development Tutorials | 2 comments

It’s been way too long since we’ve posted anything. With all the news around HTML5 and CSS3 that continues to come out, I...

Read More

Fix the timthumb.php WordPress exploit

Posted by on Aug 2, 2011 in Web Development Tutorials, WordPress Tutorials | 2 comments

There was a recent exploit found in a common file used to generate thumbnails. I found out about the exploit from Mark Maunder’s...

Read More

Parsing XML Feed to an Array with XPath

Posted by on Jan 15, 2011 in PHP Tutorials, Programming Tutorials, XML | 0 comments

Recently while working on a project, I found myself needed to parse several different types of files through the same mechanism (CSV, pipe delimited, XML, and more). I decided that it would be best to get each time of feed to a identical object that could then be run through the same methods regardless of the input type. This tutorial will walk you through using PHP and XPath to parse the values from an XML file and store them into array for later manipulation.

Read More

Access a MySQL Database Using PDO

Posted by on Nov 2, 2010 in Database Tutorials, MySQL Tutorials, PHP Tutorials, Web Development Tutorials | 2 comments

This tutorial will show you how to access a mysql database using the PHP Data Objects interface, also known simply as PDO. One big...

Read More

Simple XML to XHTML Transformation

Posted by on May 3, 2010 in HTML Tutorials, Web Development Tutorials | 6 comments

In this tutorial we are going to use XSLT to transform a simple XML document into an XHTML web page.  XSLT stands for eXtensible Style Sheet Transformations. With our XSL document we will pretty much grab the values we need from the source XML and display them nicely in XHTML.

Read More

Using jQuery to Reorder a List and Update a Database

Posted by on Sep 30, 2009 in AJAX, PHP Tutorials, Web Development Tutorials | 38 comments

This tutorial will show you how to use jQuery to allow as list (UL) to be reordered and will also make an AJAX call to a PHP file that will update the database when an item is dropped. I found this useful for a project I was working on recently. The user wanted to be able to change the order that categories displayed in a report. The items are stored in a database with a field called display_order. When the report is generated we simply order by that field.

Read More