I recently had the need to redirect one query string to another query string. The reason for this was we created a new item in our Zen Cart software that took the place of 3 other items. To make sure the search engines and our visitors reached the new product instead of the old ones, the following code was used to redirect them accordingly.
Category Archives: Code Snippets
Update MySQL table with prepended/appended strings on a field
The following code is how you would mass-update a single field in a MySQL table with a string prepended and appended to the field’s existing value.
My Best CSS Tabs To Date (Updated)
Throughout my search for the best CSS tab strip, I have finally developed what I consider to be the smallest HTML/CSS footprint to achieve the desired results. Check out the code below. If you decide to use this code, please include a link back here from your site to help others find the same solution you found helpful.
Urchin Stopped Reporting Statistics
Earlier today, one of our hosting customers notified me that there Urchin stats stopped reporting traffic around the beginning of May. Of course my first questions was “why did you wait until now to tell me?” After which I started Googling the problem. I found the solution regarding How do I recover from ‘Unable to open database for writing since it has been archived’ error?.