Tag: PHP

  • XML driven calendar

    Recently I’ve been playing around with various Calendar scripts. There’s Adam Shaw’s Full-calendar and Ross Haney’s GCE plugin for WordPress. Either of these work work great with a Google Calendar events feed, but what if you’ve got multiple XML files, each of which represent a single event? Well to handle that scenario I had to…

  • March madness basketball schedule

    Thanks to the super awesome Google Calendar Events plugin for WordPress by Ross Hanney, creating a this beautiful NCAA basketball game schedule took only five minutes. Beyond displaying game info, this it also demonstrates how easy it can be to display pubic Google calendar events with your own CSS flair in WordPress:

  • A smarter iFrame with PHP

    Depending on site design, it can often be much quicker to embed dynamic content  in an iframe which already has your site’s header and footer. The problem with this approach is that _blank links pointing to said content will not open in the iframe, but instead in a window without your site’s design. Here’s how…

  • DIY Forms Solved by WordPress

    If you use WordPress, you’re probably familiar with the admin interface’s widgets tool. It a super easy user interface (UI) that allows users enable/disable elements by dragging them into a designated area. Gravity Forms has ingeniously utilized this concept to allow users create web based forms by dragging and dropping fields. But wait! There’s more.…

  • Fun with CURL and DOM

    When the California mega millions jackpot was more than 200 million dollars a in May, I bought a couple of tickets and crossed my fingers. I didn’t win…stupid quick picks, but I got to thinking: Maybe there could be a better way of choosing the numbers. Like choosing them based on previous winning numbers somehow.…

  • Get PHPUnit to work in NetBeans 6.7

    Unit testing is one way software engineers can meet quality assurance goals for large and/or critical development projects. PHPUnit is a popular choice among a number of frameworks designed for unit testing PHP code, but as I found out quite difficult to setup on Windows with NetBeans 6.7 and XAMPP. Here’s how to got it…

  • Create an RSS feed web app for the iPhone/iPod

    A week ago I posted an article showcasing a basic RSS feed web app for the iPhone/iPod Touch. In this post I’ll attempt to demonstrate how I built that application so you can make your own. First a little background: Really Simple Syndication (RSS) is a way of keeping up with frequently changing published content.…

  • Convert an HTML table to CSV using PHP

    This post is a tutorial on how to export an HTML table in CSV format using a PHP script. The table is generated with data from a MySQL database containing orders, products and totals. I’ve dummed down the database and php code so it is easier to understand and will walk you through each step…