QUESTION How Do I Generate a QR Code For My Current Page? ANSWER This is a pretty simple solution using Google's charts API and some PHP. I uploaded a sample file which you can download by "right-click" and "save-as": qr-code-current-page.zip 1.) You first need to determine your current page. 2.) Second, you need to implement Google's chart api for QR codes. 3.) Write both … [Read more...] about How Do I Generate a QR Code For My Current Page in PHP?
Web Development
Add Twitter Follow Button to Left Side of Website
Twitter is a popular service that helps people deliver real-time mass communications. If you have a blog or website and a Twitter account, why not make it easy for your visitors to follow you? Included in this tutorial is: simple HTML code for your site (html and text file), and two follow images. Download the file pack from here (right-click and save-as): Twitter Button … [Read more...] about Add Twitter Follow Button to Left Side of Website
Display Random Testimonials in PHP
Lately I have been working on some new projects. I have a client right now that operates a service business and they would like to display testimonials on their site. For this application, I wrote a custom, simple solution to accomplish this with PHP. Here is a preview of the code: -------------------------------------------- Use a PHP include to use this code on your target … [Read more...] about Display Random Testimonials in PHP
Click to Remove Text with JavaScript
I have been working on some new projects and it seems that adding some UX (user experience) makes a website flow better. Today I will be talking about how to remove default text from a textbox by simply clicking on it or by using the onFocus function with JavaScript. So... I have a textbox for a search function on a page that I set to display "Enter Search Terms..." by … [Read more...] about Click to Remove Text with JavaScript