Currently viewing the category: "php/mysql"

List pages from the home blog on all network sites. I have recently setup a WordPress Network install where a feature on the website automatically creates posts for newly registered users. Users aren’t able to create posts or mange their account but they can view posts that have been created. As a part of this [...]

Continue Reading

I recently started a project in WordPress that is designed to print out a lot of data into tabs, with clear separation between datasets. What this meant was a lot of PHP mixed with a lot of HTML. I think I have spoiled myself by using PEAR’s HTML_Template_IT module because I don’t design websites or [...]

Continue Reading

I had the pleasure of working on a new project whose purpose is to feature exquisite websites around the web. Submit your website and get a chance to be featured on the webs newest gallery exchange! It features a simple and clean layout with a powerful administration backend. Custom content management system allows administrators to [...]

Continue Reading

There are a few methods to deal with error handling in PHP. I want to talk about the method “set_error_handler”. I like this method because I occasionally forget to check that an array has more than 0 items before running a foreach on it. An error like this won’t stop the script but it does [...]

Continue Reading

Using a small amount of code and a text based file containing a list of quotes, you can insert a random quote on your page using PHP. Create a text file containing quotes on separate lines and upload it to your server. For this example, we use ‘/files/quotes.htm’. Create a file named quotes.php and enter [...]

Continue Reading

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...