Archive | Quick Solutions RSS feed for this section

Convert External CSS to On-Page (Inline) CSS for Emails

24. January 2013

0 Comments

If you are looking to convert your CSS to on-page (or “Inline”) CSS for use in email campaigns, I will tell you how I did it. The Problem: Effective HTML in Emails Most websites now-a-days use CSS to style their web pages and, in doing so, they typically call an external style.css file. Ideally, you [...]

Continue reading...

PHP: Capture Referring URL And Truncate It To Domain Name

19. June 2012

0 Comments

This is a quick technical post on how to use PHP to capture a referring URL and truncate it to a domain name. In other words, we want to determine the exact domain name from which our visitors arrived. The reasons for doing this are numerous. Many use this referring information for statistical analysis while [...]

Continue reading...

PHP/MySQL: Query Date in DateTime Field

3. October 2011

0 Comments

In this quick technical solution post, I will tell you how to query a date from a datetime field in PHP.

Continue reading...

PHP: Get Date 7 Days Ago-One Week Ago

3. October 2011

2 Comments

In this quick tech solution post, I will tell you how to get the PHP date 7 days ago, one week ago, or whenever you want.

Continue reading...

PHP Mail: Send Text and HTML Mail Through PHP Script

5. August 2011

0 Comments

In this article, I will show you how to use PHP mail to send a text/html message through a PHP script.

Continue reading...

How To Find HTML Color Codes

1. June 2011

0 Comments

In this post, I will tell you how to quickly find the HTML color code of an image or any part of your web page.

Continue reading...

PHP String Split

3. March 2011

0 Comments

In this post, I am going to tell you how to do a PHP string split. While there use to be a PHP command called “PHP split“, it is no longer being supported so we will teach you how to do a PHP string split using the PHP explode command.

Continue reading...

PHP Delete First Character In String

3. March 2011

1 Comment

In this post, I will show you how to delete the first character in a string in PHP.

Continue reading...

Show Code In WordPress: The Syntax Highlighter Plugin

7. January 2011

0 Comments

If you want to show code in WordPress, it is now very easy with a plugin called SyntaxHighlighter.

Continue reading...

Apostrophe, Input Form, PHP, MySQL: The Easy Solution!

7. January 2011

6 Comments

In this article, I will tell you how to deal with the apostrophe not working in form data that writes to MySql using PHP. I do a lot of work involving input forms on PHP pages that write the input data to MySQL. Every time I do this, I have to account for the user [...]

Continue reading...