Recent Project: Vermont Quilt Festival

Vermont Quilt Festival Snapshot

Front Page of the Vermont Quilt Festival Website

We just finished a project for a local quilt festival.  This is their new website, built in conjunction with Graycat Studio:

Vermont Quilt Festival

The entire website is wrapped around Joomla! template and completely customizable for them.  This was an interesting project, and we still have a lot more work . . . → Read More: Recent Project: Vermont Quilt Festival

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • MySpace
  • Twitter
  • Sphinn
  • Reddit

Tidbit Tuesday on PHP: Simple MySQL Database Insert Function

This builds on a function I did last week: db_query(). You can send any array straight to a MySQL database and it’ll even check to make sure the column actually exists.  Oh, and it returns the id of the record you just added in case you needed it.

<?php
function db_array_insert($cfg_array, $table, $array) {
. . . → Read More: Tidbit Tuesday on PHP: Simple MySQL Database Insert Function

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • MySpace
  • Twitter
  • Sphinn
  • Reddit

Tidbit Tuesday on PHP: Simple MySQL Database Query Function

It’s always great to create functions for those things you do a lot.  Probably the single most common function I execute is database calls.

Here is a simple script for hitting up your MySQL database with a query:

<?php
if(!function_exists(dbQuery)) {
function db_query($cfg_array, $query) {
. . . → Read More: Tidbit Tuesday on PHP: Simple MySQL Database Query Function

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • MySpace
  • Twitter
  • Sphinn
  • Reddit

Sponsor:

SponsoredTweets referral badge