T&S SAID WHAT?!

Everything we claim we wrote about "php"

Blog Archives

Just a quick WordPress tip this time for theme developers, or people who just want to customize a WordPress theme they’ve purchased. Sometimes there are reasons to make a menu item slightly different from the title of the actual page. Perhaps your menu space is limited, but you have plenty of room in the content […]

If you’re a Dreamweaver user and you try to make sure your sites work in Internet Explorer 6, this tip is for you. When using Dreamweaver templates, one of the things that Dreamweaver does well is automatically correct paths for you. This is extremely helpful, because you don’t have to worry about what directory you’re […]

The is just a quick WordPress code snippet for those WordPress programmers or code dabblers out there. Recently we needed a page in WordPress to display the top parent page title rather than the current page’s title as the heading on the page. Here’s the code we used to accomplish that: <? $currPost = $post; […]

Disclosure: This post is for tech-inclined WordPress users, who like to code, or even do it out of necessity. If that doesn’t interest you at all, or you have no idea what I’m talking about, feel free to ignore this post. We’re big fans of WordPress around here. Unfortunately, many of WordPress’s functions directly print […]

We’re looking to hire on a full-time programmer student worker for this summer, with the possibility of continuing on into the school year. We are looking for someone who learns quickly. Experience in the following is a plus, but IS NOT absolutely necessary: PHP MySQL XHTML / CSS Javascript (jQuery experience would be nice) General […]

I have always wondered what open source tools are out there for web design just in case I decide to boycott Adobe or Adobe goes bankrupt or something. It turns out there are some pretty good options for web design. None of them are quite as good as Fireworks or Dreamweaver, but they do get […]

There are many times in a programmer’s career when regular expressions are extremely useful. Sadly, many programmers do not know regular expressions well enough to use them when the situation requires it. This post shows how easy it is to replace the contents of querystring variables in a URL using regular expressions. function replaceQueryString($url, $key, […]

Occasionally when working with database relationships one will come across an instance of a many-to-many relationship. This type of relationship can occur, for example, when multiple users can be assigned to multiple tasks with users being assigned multiple times. This type of relationship should be implemented as three separate tables as shown below. Users userid […]

One of the most time consuming and annoying things I must do when converting a web site from design to CSS/HTML is finding some way to replace all the “fancy font” text with images. I understand that these fonts make the site look much, much better, but there is no way to ensure an end […]

Today I needed to use a bit of javascript to modify the contents of a web page. However, the section of the page I was changing was being updated with user entered content. I wanted the content on the page to show exactly what the user typed, meaning that I had to make sure that […]