Archive for the ‘Quick Tips’ Category

Quick Tip - How to Connect to MySQL using Perl

Monday, April 14th, 2008

This is a Quick Tip on how to connect to a MySQL database using Perl. Even though many other languages are sneaking their way onto Perl's turf. There is still a great demand for Perl on the web, so don't forget one of it's primary uses. Here's the code: #!/usr/bin/perl use DBI; $database ...

Quick Tip - How to connect to MySQL with PHP

Monday, April 14th, 2008

This is a Quick Tip on how to connect to MySQL with PHP. We have all done it from time to time, but sometimes we forget just how to connect to those pesky MySQL databases directly using PHP. So here's how it's done: <?php function open( ){$db = mysql_connect( 'localhost', 'root', ...

Quick Tip - How to Make Cross Browser CSS Divisions Transparent

Tuesday, April 8th, 2008

There are several interesting tutorials out there for making CSS divisions Transparent, however most of the ones I've seen omit valuable information to make it work in all browsers. Lets take a look. First we need an HTML file. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> </head><body> <div ...