Below you will find a list of entries that have been filed under the category ‘ PHP/MySQL ’ . You can also visit the complete archives page for a listing of every entry that has been written for the Big Square Blog.
How To Go Down In Style While Getting Your WordPress Blog Dugg, Reddited, Slashdotted, or Farked.
For the sake of your visitors and the seamless appearance of your website, make these very small alterations to your ‘wp-db.php’ file and create a snazzy error page that contains more valuable information to your visitors than “error establishing a database connection�, care of WordPress.
A (Smarter) Solution for Displaying WordPress Entries on ANY Part of Your Website
I knew there had to be a better way of including part of my WordPress blog on my static front page, and today it struck me. “Instead of calling on WordPress template tags to execute very simple PHP/MySQL functions on my front page,� I told myself, “I should treat my WordPress database like what it is: a database!�
How to Get Rid of WordPress’ Pesky get_the_url Problem
A few days ago I introduced a method by which multiple authors in a WordPress blog can have their photos automatically generated next to each of their published blog entries. Today I want to go a step further and delve into an issue that I ran into while designing another blog that is primarily written by one person and contributed to by various guest authors from time to time.
Random Header Images For Your Blog Using DIVs and PHP
What this tiny bit of powerful CSS and PHP do is make a random header image possible without having to worry about random header images being displayed in CSS-incompatible browsers or printers. It is similar to Chris Pearsons’ method but this time around it uses the DIV tag and not an image tag, which I only want to use inside of blog entries.
How to add a WordPress Mini-Loop to your static front page.
When I decided to make Big Square Dot a part static, part dynamic website, I was at a loss as to how I would go about incorporating my latest blog entry into the home page of Big Square Dot. I did not want to install WordPress into the root directory of www.bigsquaredot.com because I am all about organization and don’t much enjoy the sight of ‘wp-’ files littering my domain’s root folder.